Browse files

Adds snippet for 'subject'

  • Loading branch information...
1 parent 6828bbc commit 78855a49e51d08153c003582b864bc94b5aad5a3 @ronny ronny committed with ashmoran Jul 5, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 Snippets/subject.sublime-snippet
View
6 Snippets/subject.sublime-snippet
@@ -0,0 +1,6 @@
+<snippet>
+ <content><![CDATA[subject(:${1:variable_name}) { ${3:${2:ClassName}.new} }]]></content>
+ <tabTrigger>subject</tabTrigger>
+ <scope>source.ruby.rspec</scope>
+ <description>subject - Rspec subject helper</description>
+</snippet>

0 comments on commit 78855a4

Please sign in to comment.