Permalink
Browse files

Revert the `let` helper back to its more generic earlier form

  • Loading branch information...
1 parent b559725 commit 5541e4e2307fb7d60c828d882af7166e16194dae @ashmoran ashmoran committed Nov 26, 2013
Showing with 6 additions and 6 deletions.
  1. +0 −6 Snippets/let-fabricator.sublime-snippet
  2. +6 −0 Snippets/let-memoized_helper-(let).sublime-snippet
@@ -1,6 +0,0 @@
-<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>
@@ -0,0 +1,6 @@
+<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 5541e4e

Please sign in to comment.