Permalink
Browse files

Update it {} and it 'des' do ... end snippets. Fabricate let snippet.

  • Loading branch information...
1 parent bb24efc commit b559725dda749dc74540dec2dcace2126fc693e1 @timstott timstott committed with ashmoran Nov 3, 2013
View
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>content</key>
- <string>it "${1:description}" do
- $0
-end</string>
- <key>name</key>
- <string>it</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>it</string>
- <key>uuid</key>
- <string>AD51AA2B-09C9-40DE-9720-2FD43C967FA9</string>
-</dict>
-</plist>
@@ -0,0 +1,8 @@
+<snippet>
+ <content><![CDATA[it '${1:description}' do
+ $0
+end]]></content>
+ <tabTrigger>it</tabTrigger>
+ <scope>source.ruby.rspec</scope>
+ <description>it 'description' do … end</description>
+</snippet>
@@ -0,0 +1,6 @@
+<snippet>
+ <content><![CDATA[it { ${2:should ${1:matcher}} }$0]]></content>
+ <tabTrigger>iti</tabTrigger>
+ <scope>source.ruby.rspec</scope>
+ <description>it { }</description>
+</snippet>
@@ -0,0 +1,6 @@
+<snippet>
+ <content><![CDATA[it_should_behave_like ${2:'$1'}$0]]></content>
+ <tabTrigger>itsbl</tabTrigger>
+ <scope>source.ruby.rspec</scope>
+ <description>it_should_behave_like</description>
+</snippet>
@@ -1,16 +0,0 @@
-<?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_behave_like ${2:"$1"}$0</string>
- <key>name</key>
- <string>it_should_behave_like</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>itsbl</string>
- <key>uuid</key>
- <string>D13C48F3-C62B-4456-B075-36B424D573CC</string>
-</dict>
-</plist>
@@ -0,0 +1,6 @@
+<snippet>
+ <content><![CDATA[let(:${1:fabricator}) { Fabricate${2:.build}(:${1}) }$0]]></content>
+ <tabTrigger>letf</tabTrigger>
+ <scope>source.ruby.rspec</scope>
+ <description>let fabricator</description>
+</snippet>
@@ -1,6 +0,0 @@
-<snippet>
- <content><![CDATA[let(:${1:variable_name}) { ${3:${2:ClassName}.new} }]]></content>
- <tabTrigger>let</tabTrigger>
- <scope>source.ruby.rspec</scope>
- <description>let - Rspec memoized helper</description>
-</snippet>

0 comments on commit b559725

Please sign in to comment.