Skip to content
Browse files

add 'it should' snippet for when you want to start with 'should'

  • Loading branch information...
1 parent adc94af commit b89c020328988fd0fea26cc93ea4cbcaca774a12 @dchelimsky committed
Showing with 21 additions and 2 deletions.
  1. +2 −2 Snippets/It.tmSnippet
  2. +18 −0 Snippets/it should.tmSnippet
  3. +1 −0 info.plist
View
4 Snippets/It.tmSnippet
@@ -3,11 +3,11 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>it "${1:behaviour}"${2: do
+ <string>it "${1:does something}"${2: do
$0
end}</string>
<key>name</key>
- <string>it</string>
+ <string>it (does something)</string>
<key>scope</key>
<string>source.ruby.rspec</string>
<key>tabTrigger</key>
View
18 Snippets/it should.tmSnippet
@@ -0,0 +1,18 @@
+<?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>it "should ${1:do something}"${2: do
+ $0
+end}</string>
+ <key>name</key>
+ <string>it (should do something)</string>
+ <key>scope</key>
+ <string>source.ruby.rspec</string>
+ <key>tabTrigger</key>
+ <string>its</string>
+ <key>uuid</key>
+ <string>ED8BDE00-5FD7-4E47-84FD-4B971557FD73</string>
+</dict>
+</plist>
View
1 info.plist
@@ -215,6 +215,7 @@
<string>0ED99C84-1F7B-471E-BB88-B59C5D08FA6B</string>
<string>A373048F-BDEC-458B-8886-79058296C8DC</string>
<string>AD51AA2B-09C9-40DE-9720-2FD43C967FA9</string>
+ <string>ED8BDE00-5FD7-4E47-84FD-4B971557FD73</string>
<string>7D960FC5-4859-4328-A06B-73A3CF6763E0</string>
<string>1201777F-3AC4-4B2A-9A46-C215F891B07A</string>
<string>55BF6C99-B4C4-4772-B7DC-0A18407E429C</string>

0 comments on commit b89c020

Please sign in to comment.
Something went wrong with that request. Please try again.