Permalink
Browse files

Correction of line insertion in the should snippets

  • Loading branch information...
osrocha committed Dec 5, 2012
1 parent 5d66c3f commit b857707219dd10da3ccd8dcc6c262b5d2e44afbe
Showing with 40 additions and 79 deletions.
  1. +1 −1 README.md
  2. +1 −2 Snippets/mock.tmSnippet
  3. +1 −2 Snippets/response_should_be_success.tmSnippet
  4. +1 −2 Snippets/response_should_not_be_success.tmSnippet
  5. +1 −2 Snippets/should ==.tmSnippet
  6. +1 −2 Snippets/should =~.tmSnippet
  7. +1 −2 Snippets/should eql.tmSnippet
  8. +1 −2 Snippets/should_be.tmSnippet
  9. +1 −2 Snippets/should_be_a_kind_of.tmSnippet
  10. +1 −2 Snippets/should_be_an_instance_of.tmSnippet
  11. +1 −2 Snippets/should_be_close.tmSnippet
  12. +1 −2 Snippets/should_be_redirect.tmSnippet
  13. +1 −2 Snippets/should_equal.tmSnippet
  14. +1 −2 Snippets/should_have.tmSnippet
  15. +1 −2 Snippets/should_have_at_least.tmSnippet
  16. +1 −2 Snippets/should_have_at_most.tmSnippet
  17. +1 −2 Snippets/should_have_records.tmSnippet
  18. +1 −2 Snippets/should_match.tmSnippet
  19. +1 −2 Snippets/should_not ==.tmSnippet
  20. +1 −2 Snippets/should_not =~.tmSnippet
  21. +1 −2 Snippets/should_not eql.tmSnippet
  22. +1 −2 Snippets/should_not_be.tmSnippet
  23. +1 −2 Snippets/should_not_be_a_kind_of.tmSnippet
  24. +1 −2 Snippets/should_not_be_an_instance_of.tmSnippet
  25. +1 −2 Snippets/should_not_be_close.tmSnippet
  26. +1 −2 Snippets/should_not_be_redirect.tmSnippet
  27. +1 −2 Snippets/should_not_equal.tmSnippet
  28. +1 −2 Snippets/should_not_match.tmSnippet
  29. +1 −2 Snippets/should_not_predicate.tmSnippet
  30. +1 −2 Snippets/should_not_raise.tmSnippet
  31. +1 −2 Snippets/should_not_respond_to.tmSnippet
  32. +1 −2 Snippets/should_not_satisfy.tmSnippet
  33. +1 −2 Snippets/should_not_throw.tmSnippet
  34. +1 −2 Snippets/should_predicate.tmSnippet
  35. +1 −2 Snippets/should_raise.tmSnippet
  36. +1 −2 Snippets/should_redirect_to.tmSnippet
  37. +1 −2 Snippets/should_render.tmSnippet
  38. +1 −2 Snippets/should_respond_to.tmSnippet
  39. +1 −2 Snippets/should_satisfy.tmSnippet
  40. +1 −2 Snippets/should_throw.tmSnippet
View
@@ -5,7 +5,7 @@ Description
Package Installation
====================
Bring up a command line in the Packages/ folder of your Sublime user folder, and execute the following:
-> git clone git://github.com/SublimeText/RSpec.git
+> git clone http://github.com/osrocha/RSpec.git
When you launch Sublime Text 2, it will pick up the contents of this package so that you can consume the goodness that it provides.
View
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:var} = mock("${2:mock_name}"${3:, :null_object =&gt; true})
-$0</string>
+ <string>${1:var} = mock("${2:mock_name}"${3:, :null_object =&gt; true})$0</string>
<key>name</key>
<string>mock</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>response.should be_success
-$0</string>
+ <string>response.should be_success$0</string>
<key>name</key>
<string>should be_success</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>response.should_not be_success
-$0</string>
+ <string>response.should_not be_success$0</string>
<key>name</key>
<string>should_not be_success</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should == ${2:value}
-$0</string>
+ <string>${1:target}.should == ${2:value}$0</string>
<key>name</key>
<string>should ==</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should =~ /${2:regexp}/
-$0</string>
+ <string>${1:target}.should =~ /${2:regexp}/$0</string>
<key>name</key>
<string>should =~</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should eql(${2:value})
-$0</string>
+ <string>${1:target}.should eql(${2:value})$0</string>
<key>name</key>
<string>should eql</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should be(${2:result})
-$0</string>
+ <string>${1:target}.should be(${2:result})$0</string>
<key>name</key>
<string>should be</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should be_a_kind_of(${2:klass})
-$0</string>
+ <string>${1:target}.should be_a_kind_of(${2:klass})$0</string>
<key>name</key>
<string>should be_kind_of</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should be_instance_of(${2:klass})
-$0</string>
+ <string>${1:target}.should be_instance_of(${2:klass})$0</string>
<key>name</key>
<string>should be_instance_of</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should be_close(${2:result}, ${3:tolerance})
-$0</string>
+ <string>${1:target}.should be_close(${2:result}, ${3:tolerance})$0</string>
<key>name</key>
<string>should be_close</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>response.should be_redirect
-$0</string>
+ <string>response.should be_redirect$0</string>
<key>name</key>
<string>should be_redirect</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should equal(${2:value})
-$0</string>
+ <string>${1:target}.should equal(${2:value})$0</string>
<key>name</key>
<string>should equal</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should have(${2:num}).${3:things}
-$0</string>
+ <string>${1:target}.should have(${2:num}).${3:things}$0</string>
<key>name</key>
<string>should have</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should have_at_least(${2:num}).${3:things}
-$0</string>
+ <string>${1:target}.should have_at_least(${2:num}).${3:things}$0</string>
<key>name</key>
<string>should have_at_least</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should have_at_most(${2:num}).${3:things}
-$0</string>
+ <string>${1:target}.should have_at_most(${2:num}).${3:things}$0</string>
<key>name</key>
<string>should have_at_most</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should have(${2:x}).records
-$0</string>
+ <string>${1:target}.should have(${2:x}).records$0</string>
<key>name</key>
<string>should have_records</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should match(/${2:regexp}/)
-$0</string>
+ <string>${1:target}.should match(/${2:regexp}/)$0</string>
<key>name</key>
<string>should match</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should_not == ${2:value}
-$0</string>
+ <string>${1:target}.should_not == ${2:value}$0</string>
<key>name</key>
<string>should_not ==</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should_not =~ /${2:regexp}/
-$0</string>
+ <string>${1:target}.should_not =~ /${2:regexp}/$0</string>
<key>name</key>
<string>should_not =~</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should_not eql(${2:value})
-$0</string>
+ <string>${1:target}.should_not eql(${2:value})$0</string>
<key>name</key>
<string>should_not eql</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should_not be(${2:result})
-$0</string>
+ <string>${1:target}.should_not be(${2:result})$0</string>
<key>name</key>
<string>should_not be</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should_not be_a_kind_of(${2:klass})
-$0</string>
+ <string>${1:target}.should_not be_a_kind_of(${2:klass})$0</string>
<key>name</key>
<string>should_not be_kind_of</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should_not be_instance_of(${2:klass})
-$0</string>
+ <string>${1:target}.should_not be_instance_of(${2:klass})$0</string>
<key>name</key>
<string>should_not be_instance_of</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should_not be_close(${2:result}, ${3:tolerance})
-$0</string>
+ <string>${1:target}.should_not be_close(${2:result}, ${3:tolerance})$0</string>
<key>name</key>
<string>should_not be_close</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>response.should_not be_redirect
-$0</string>
+ <string>response.should_not be_redirect$0</string>
<key>name</key>
<string>should_not be_redirect</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should_not equal(${2:value})
-$0</string>
+ <string>${1:target}.should_not equal(${2:value})$0</string>
<key>name</key>
<string>should_not equal</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should_not match(/${2:regexp}/)
-$0</string>
+ <string>${1:target}.should_not match(/${2:regexp}/)$0</string>
<key>name</key>
<string>should_not match</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should_not ${2:be_${3:predicate}} $4
-$0</string>
+ <string>${1:target}.should_not ${2:be_${3:predicate}} $4$0</string>
<key>name</key>
<string>should_not predicate</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>lambda { $1 }.should_not raise_error(${2:error})
-$0</string>
+ <string>lambda { $1 }.should_not raise_error(${2:error})$0</string>
<key>name</key>
<string>should_not raise_error</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should_not respond_to(:${2:sym})
-$0</string>
+ <string>${1:target}.should_not respond_to(:${2:sym})$0</string>
<key>name</key>
<string>should_not respond_to</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should_not satisfy { |obj| $2 }
-$0</string>
+ <string>${1:target}.should_not satisfy { |obj| $2 }$0</string>
<key>name</key>
<string>should_not satisfy</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>lambda { $1 }.should_not throw_symbol(:${2:symbol})
-$0</string>
+ <string>lambda { $1 }.should_not throw_symbol(:${2:symbol})$0</string>
<key>name</key>
<string>should_not throw</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should ${2:be_${3:predicate}} $4
-$0</string>
+ <string>${1:target}.should ${2:be_${3:predicate}} $4$0</string>
<key>name</key>
<string>should predicate</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>lambda { $1 }.should raise_error(${2:error})
-$0</string>
+ <string>lambda { $1 }.should raise_error(${2:error})$0</string>
<key>name</key>
<string>should raise_error</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>response.should redirect_to(${1:url})
-$0</string>
+ <string>response.should redirect_to(${1:url})$0</string>
<key>name</key>
<string>should redirect_to</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>response.should render_template(:${1:template})
-$0</string>
+ <string>response.should render_template(:${1:template})$0</string>
<key>name</key>
<string>should render_template</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should respond_to(:${2:sym})
-$0</string>
+ <string>${1:target}.should respond_to(:${2:sym})$0</string>
<key>name</key>
<string>should respond_to</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>${1:target}.should satisfy { |obj| $2 }
-$0</string>
+ <string>${1:target}.should satisfy { |obj| $2 }$0</string>
<key>name</key>
<string>should satisfy</string>
<key>scope</key>
@@ -3,8 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>lambda { $1 }.should throw_symbol(:${2:symbol})
-$0</string>
+ <string>lambda { $1 }.should throw_symbol(:${2:symbol})$0</string>
<key>name</key>
<string>should throw</string>
<key>scope</key>

0 comments on commit b857707

Please sign in to comment.