Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit b559725dda749dc74540dec2dcace2126fc693e1 1 parent bb24efc
@timstott timstott authored ashmoran committed
View
18 Snippets/It.tmSnippet
@@ -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>
View
8 Snippets/it-block.sublime-snippet
@@ -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>
View
6 Snippets/it-one-line.sublime-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>
View
6 Snippets/it-should-behave-like.sublime-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>
View
16 Snippets/it_should_behave_like.tmSnippet
@@ -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>
View
6 Snippets/let-fabricator.sublime-snippet
@@ -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>
View
6 Snippets/let-memoized_helper-(let).sublime-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>
Please sign in to comment.
Something went wrong with that request. Please try again.