Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Was changed parameter from TARGET to SUBJECT

  • Loading branch information...
commit 310d6e8c08f895574547f224ba75faa237ac0e5e 1 parent f101fb8
@osrocha osrocha authored
Showing with 30 additions and 30 deletions.
  1. +1 −1  Snippets/expect_be.tmSnippet
  2. +1 −1  Snippets/expect_be_a_kind_of.tmSnippet
  3. +1 −1  Snippets/expect_be_an_instance_of.tmSnippet
  4. +1 −1  Snippets/expect_be_false.tmSnippet
  5. +1 −1  Snippets/expect_be_nil.tmSnippet
  6. +1 −1  Snippets/expect_be_predicated_method.tmSnippet
  7. +1 −1  Snippets/expect_be_true.tmSnippet
  8. +1 −1  Snippets/expect_eql.tmSnippet
  9. +1 −1  Snippets/expect_equal.tmSnippet
  10. +1 −1  Snippets/expect_exist.tmSnippet
  11. +1 −1  Snippets/expect_have.tmSnippet
  12. +1 −1  Snippets/expect_have_at_least.tmSnippet
  13. +1 −1  Snippets/expect_have_at_most.tmSnippet
  14. +1 −1  Snippets/expect_have_exactly.tmSnippet
  15. +1 −1  Snippets/expect_include.tmSnippet
  16. +1 −1  Snippets/expect_match.tmSnippet
  17. +1 −1  Snippets/expect_not_be.tmSnippet
  18. +1 −1  Snippets/expect_not_be_a_kind_of.tmSnippet
  19. +1 −1  Snippets/expect_not_be_an_instance_of.tmSnippet
  20. +1 −1  Snippets/expect_not_be_nil.tmSnippet
  21. +1 −1  Snippets/expect_not_be_predicated_method.tmSnippet
  22. +1 −1  Snippets/expect_not_eql.tmSnippet
  23. +1 −1  Snippets/expect_not_equal.tmSnippet
  24. +1 −1  Snippets/expect_not_exist.tmSnippet
  25. +1 −1  Snippets/expect_not_include.tmSnippet
  26. +1 −1  Snippets/expect_not_match.tmSnippet
  27. +1 −1  Snippets/expect_not_respond_to.tmSnippet
  28. +1 −1  Snippets/expect_not_satisfy.tmSnippet
  29. +1 −1  Snippets/expect_respond_to.tmSnippet
  30. +1 −1  Snippets/expect_satisfy.tmSnippet
View
2  Snippets/expect_be.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).to be$0</string>
+ <string>expect(${1:subject}).to be$0</string>
<key>name</key>
<string>expect(subject) be</string>
<key>scope</key>
View
2  Snippets/expect_be_a_kind_of.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).to be_a_kind_of(${2:klass})$0</string>
+ <string>expect(${1:subject}).to be_a_kind_of(${2:klass})$0</string>
<key>name</key>
<string>expect(subject) be_a_kind_of</string>
<key>scope</key>
View
2  Snippets/expect_be_an_instance_of.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).to be_an_instance_of(${2:klass})$0</string>
+ <string>expect(${1:subject}).to be_an_instance_of(${2:klass})$0</string>
<key>name</key>
<string>expect(subject) be_an_instance_of</string>
<key>scope</key>
View
2  Snippets/expect_be_false.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).to be_false$0</string>
+ <string>expect(${1:subject}).to be_false$0</string>
<key>name</key>
<string>expect(subject) be_false</string>
<key>scope</key>
View
2  Snippets/expect_be_nil.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).to be_nil$0</string>
+ <string>expect(${1:subject}).to be_nil$0</string>
<key>name</key>
<string>expect(subject) be_nil</string>
<key>scope</key>
View
2  Snippets/expect_be_predicated_method.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).to be_${2:predicated_method}$0</string>
+ <string>expect(${1:subject}).to be_${2:predicated_method}$0</string>
<key>name</key>
<string>expect(subject) be_{predicated_method}</string>
<key>scope</key>
View
2  Snippets/expect_be_true.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).to be_true$0</string>
+ <string>expect(${1:subject}).to be_true$0</string>
<key>name</key>
<string>expect(subject) be_true</string>
<key>scope</key>
View
2  Snippets/expect_eql.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).to eql(${2:value})$0</string>
+ <string>expect(${1:subject}).to eql(${2:value})$0</string>
<key>name</key>
<string>expect eql</string>
<key>scope</key>
View
2  Snippets/expect_equal.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).to equal(${2:value})$0</string>
+ <string>expect(${1:subject}).to equal(${2:value})$0</string>
<key>name</key>
<string>expect equal</string>
<key>scope</key>
View
2  Snippets/expect_exist.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).to exist$0</string>
+ <string>expect(${1:subject}).to exist$0</string>
<key>name</key>
<string>expect(subject) exist</string>
<key>scope</key>
View
2  Snippets/expect_have.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).to have(${2:num}).${3:things}$0</string>
+ <string>expect(${1:subject}).to have(${2:num}).${3:things}$0</string>
<key>name</key>
<string>expect(subject) have</string>
<key>scope</key>
View
2  Snippets/expect_have_at_least.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).to have_at_least(${2:num}).${3:things}$0</string>
+ <string>expect(${1:subject}).to have_at_least(${2:num}).${3:things}$0</string>
<key>name</key>
<string>expect(subject) have_at_least</string>
<key>scope</key>
View
2  Snippets/expect_have_at_most.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).to have_at_most(${2:num}).${3:things}$0</string>
+ <string>expect(${1:subject}).to have_at_most(${2:num}).${3:things}$0</string>
<key>name</key>
<string>expect(subject) have_at_most</string>
<key>scope</key>
View
2  Snippets/expect_have_exactly.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).to have_exactly(${2:num}).${3:things}$0</string>
+ <string>expect(${1:subject}).to have_exactly(${2:num}).${3:things}$0</string>
<key>name</key>
<string>expect(subject) have_exactly</string>
<key>scope</key>
View
2  Snippets/expect_include.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).to include(${2})$0</string>
+ <string>expect(${1:subject}).to include(${2})$0</string>
<key>name</key>
<string>expect(subject) include(element)</string>
<key>scope</key>
View
2  Snippets/expect_match.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).to match(/${2:regexp}/)$0</string>
+ <string>expect(${1:subject}).to match(/${2:regexp}/)$0</string>
<key>name</key>
<string>expect(subject) match</string>
<key>scope</key>
View
2  Snippets/expect_not_be.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).not_to be$0</string>
+ <string>expect(${1:subject}).not_to be$0</string>
<key>name</key>
<string>expect(subject) not be</string>
<key>scope</key>
View
2  Snippets/expect_not_be_a_kind_of.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).not_to be_a_kind_of(${2:klass})$0</string>
+ <string>expect(${1:subject}).not_to be_a_kind_of(${2:klass})$0</string>
<key>name</key>
<string>expect(subject) not be_a_kind_of</string>
<key>scope</key>
View
2  Snippets/expect_not_be_an_instance_of.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).not_to be_an_instance_of(${2:klass})$0</string>
+ <string>expect(${1:subject}).not_to be_an_instance_of(${2:klass})$0</string>
<key>name</key>
<string>expect(subject) not be_an_instance_of</string>
<key>scope</key>
View
2  Snippets/expect_not_be_nil.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).not_to be_nil$0</string>
+ <string>expect(${1:subject}).not_to be_nil$0</string>
<key>name</key>
<string>expect(subject) not be_nil</string>
<key>scope</key>
View
2  Snippets/expect_not_be_predicated_method.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).not_to be_${2:predicated_method}$0</string>
+ <string>expect(${1:subject}).not_to be_${2:predicated_method}$0</string>
<key>name</key>
<string>expect(subject) not be_{predicated_method}</string>
<key>scope</key>
View
2  Snippets/expect_not_eql.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).not_to eql(${2:value})$0</string>
+ <string>expect(${1:subject}).not_to eql(${2:value})$0</string>
<key>name</key>
<string>expect not eql</string>
<key>scope</key>
View
2  Snippets/expect_not_equal.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).not_to equal(${2:value})$0</string>
+ <string>expect(${1:subject}).not_to equal(${2:value})$0</string>
<key>name</key>
<string>expect not equal</string>
<key>scope</key>
View
2  Snippets/expect_not_exist.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).not_to exist$0</string>
+ <string>expect(${1:subject}).not_to exist$0</string>
<key>name</key>
<string>expect(subject) not exist</string>
<key>scope</key>
View
2  Snippets/expect_not_include.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).not_to include(${2})$0</string>
+ <string>expect(${1:subject}).not_to include(${2})$0</string>
<key>name</key>
<string>expect(subject) not include(element)</string>
<key>scope</key>
View
2  Snippets/expect_not_match.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).not_to match(/${2:regexp}/)$0</string>
+ <string>expect(${1:subject}).not_to match(/${2:regexp}/)$0</string>
<key>name</key>
<string>expect(subject) not match</string>
<key>scope</key>
View
2  Snippets/expect_not_respond_to.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).not_to respond_to(:${2:method})$0</string>
+ <string>expect(${1:subject}).not_to respond_to(:${2:method})$0</string>
<key>name</key>
<string>expect(subject) not respond_to</string>
<key>scope</key>
View
2  Snippets/expect_not_satisfy.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).not_to satisfy { |${2:obj}| ${3:expression} }$0</string>
+ <string>expect(${1:subject}).not_to satisfy { |${2:obj}| ${3:expression} }$0</string>
<key>name</key>
<string>expect(subject) not satisfy</string>
<key>scope</key>
View
2  Snippets/expect_respond_to.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).to respond_to(:${2:method})$0</string>
+ <string>expect(${1:subject}).to respond_to(:${2:method})$0</string>
<key>name</key>
<string>expect(subject) respond_to</string>
<key>scope</key>
View
2  Snippets/expect_satisfy.tmSnippet
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>expect(${1:target}).to satisfy { |${2:obj}| ${3:expression} }$0</string>
+ <string>expect(${1:subject}).to satisfy { |${2:obj}| ${3:expression} }$0</string>
<key>name</key>
<string>expect(subject) satisfy</string>
<key>scope</key>
Please sign in to comment.
Something went wrong with that request. Please try again.