public
Description: Useful collection of webrat Textmate snippets meant for use with the RSpec Story and/or Cucumber bundles
Homepage: http://benmabey.com
Clone URL: git://github.com/bmabey/webrat-tmbundle.git
bmabey (author)
Thu Jan 22 07:43:35 -0800 2009
commit  7b76057c3c831ea3c4676227a440a5d083d97d0f
tree    52c5754bbe8fdc46b069bb510c7d9141f8626840
parent  87c52e8b77e931aac9a7f37abc12b89c89597254
webrat-tmbundle / Snippets / select_time.tmSnippet
100644 17 lines (16 sloc) 0.628 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>select_time '${1:time_to_select_string_or_object}'${6:${3:, :from =&gt; '${2:dropdown}'}${5:, :id_prefix =&gt; '${4:fields_id_prefix}'}}$7</string>
<key>name</key>
<string>select_time</string>
<key>scope</key>
<string>source.ruby.rspec.cucumber.steps,source.ruby.rspec.story.steps</string>
<key>tabTrigger</key>
<string>sel</string>
<key>uuid</key>
<string>A355B998-3818-4E45-B449-2EB02F0CCB70</string>
</dict>
</plist>