Permalink
Browse files

Was changed parameter from TARGET to SUBJECT

  • Loading branch information...
1 parent f101fb8 commit 310d6e8c08f895574547f224ba75faa237ac0e5e @osrocha osrocha committed Dec 13, 2012
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>

0 comments on commit 310d6e8

Please sign in to comment.