Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Small tweaks to the `describe` helpers

  • Loading branch information...
commit 91f1dda581f56a55cef619a678222d1388e28076 1 parent a77c410
@ashmoran ashmoran authored
View
4 Snippets/Describe_type.tmSnippet
@@ -4,9 +4,9 @@
<dict>
<key>content</key>
<string>describe ${1:Type} do
- it "should ${2:description}" do
+ ${2:it "${3:does something}" do
$0
- end
+ end}
end</string>
<key>name</key>
<string>describe (type)</string>
View
4 Snippets/Describe_type_string.tmSnippet
@@ -4,9 +4,9 @@
<dict>
<key>content</key>
<string>describe ${1:Type}, "${2:description}" do
- it "should ${3:description}" do
+ ${3:it "${4:does something}" do
$0
- end
+ end}
end</string>
<key>name</key>
<string>describe (type, string)</string>
View
4 Snippets/describe-block.sublime-snippet
@@ -1,8 +1,8 @@
<snippet>
- <content><![CDATA[describe '${1:description}' do
+ <content><![CDATA[describe "${1:description}" do
$0
end]]></content>
<tabTrigger>des</tabTrigger>
<scope>source.ruby.rspec</scope>
- <description>describe 'description' do … end</description>
+ <description>describe "description" do … end</description>
</snippet>
View
2  Snippets/it-block.sublime-snippet
@@ -1,5 +1,5 @@
<snippet>
- <content><![CDATA[it '${1:description}' do
+ <content><![CDATA[it "${1:does something}" do
$0
end]]></content>
<tabTrigger>it</tabTrigger>
View
2  Snippets/it-should-behave-like.sublime-snippet
@@ -1,5 +1,5 @@
<snippet>
- <content><![CDATA[it_should_behave_like ${2:'$1'}$0]]></content>
+ <content><![CDATA[it_should_behave_like ${2:"$1"}$0]]></content>
<tabTrigger>itsbl</tabTrigger>
<scope>source.ruby.rspec</scope>
<description>it_should_behave_like</description>
Please sign in to comment.
Something went wrong with that request. Please try again.