Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed old 'should' syntax

  • Loading branch information...
commit 98062083a3fcf0e6a9b40e8ea6941761d87d2483 1 parent ea97e38
@kdurski kdurski authored ashmoran committed
View
16 Snippets/should ==.tmSnippet
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>content</key>
- <string>${1:target}.should == ${2:value}$0</string>
- <key>name</key>
- <string>should ==</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>sh=</string>
- <key>uuid</key>
- <string>AF99B458-D589-414D-87C7-8FACD2EF9FD5</string>
-</dict>
-</plist>
View
16 Snippets/should =~.tmSnippet
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>content</key>
- <string>${1:target}.should =~ /${2:regexp}/$0</string>
- <key>name</key>
- <string>should =~</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shm</string>
- <key>uuid</key>
- <string>0BD5A07E-5FB3-44A3-991F-ABA04BA632D7</string>
-</dict>
-</plist>
View
16 Snippets/should_be_redirect.tmSnippet
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>content</key>
- <string>response.should be_redirect$0</string>
- <key>name</key>
- <string>should be_redirect</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shbr</string>
- <key>uuid</key>
- <string>E4DA45B3-736F-40DF-8344-25A79E073730</string>
-</dict>
-</plist>
View
16 Snippets/should_have_records.tmSnippet
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>content</key>
- <string>${1:target}.should have(${2:x}).records$0</string>
- <key>name</key>
- <string>should have_records</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shhr</string>
- <key>uuid</key>
- <string>9605BD4A-93E5-4D57-99FB-D8844D40F183</string>
-</dict>
-</plist>
View
16 Snippets/should_not_be_redirect.tmSnippet
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>content</key>
- <string>response.should_not be_redirect$0</string>
- <key>name</key>
- <string>should_not be_redirect</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shnbr</string>
- <key>uuid</key>
- <string>E79DAF3F-8960-47C1-A34C-3D0E4B0AF926</string>
-</dict>
-</plist>
View
16 Snippets/should_not_equal.tmSnippet
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>content</key>
- <string>${1:target}.should_not equal(${2:value})$0</string>
- <key>name</key>
- <string>should_not equal</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shne</string>
- <key>uuid</key>
- <string>A6966089-6A33-4836-B85D-9CB72DBEB0A5</string>
-</dict>
-</plist>
View
16 Snippets/should_not_match.tmSnippet
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>content</key>
- <string>${1:target}.should_not match(/${2:regexp}/)$0</string>
- <key>name</key>
- <string>should_not match</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shnm</string>
- <key>uuid</key>
- <string>014285F3-D908-427F-B535-E5A4AEF09339</string>
-</dict>
-</plist>
View
16 Snippets/should_not_predicate.tmSnippet
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>content</key>
- <string>${1:target}.should_not ${2:be_${3:predicate}} $4$0</string>
- <key>name</key>
- <string>should_not predicate</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shnp</string>
- <key>uuid</key>
- <string>1D0BB312-A029-4A43-A024-EF6C03506CEC</string>
-</dict>
-</plist>
View
16 Snippets/should_not_receive.tmSnippet
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>content</key>
- <string>${1:mock}${1/^.+$/./}should_not_receive(:${2:message})</string>
- <key>name</key>
- <string>should_not_receive</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shnr</string>
- <key>uuid</key>
- <string>4CBCCACF-D6DA-49A6-9A8E-EC2F9CD15E94</string>
-</dict>
-</plist>
View
16 Snippets/should_not_respond_to.tmSnippet
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>content</key>
- <string>${1:target}.should_not respond_to(:${2:sym})$0</string>
- <key>name</key>
- <string>should_not respond_to</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shnrt</string>
- <key>uuid</key>
- <string>E352E5F0-C83B-4C36-AC72-7BFC4F58DBF0</string>
-</dict>
-</plist>
View
16 Snippets/should_not_throw.tmSnippet
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>content</key>
- <string>lambda { $1 }.should_not throw_symbol(:${2:symbol})$0</string>
- <key>name</key>
- <string>should_not throw</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shnt</string>
- <key>uuid</key>
- <string>EF7CD2D2-68BC-425B-9C49-7E3597EFE804</string>
-</dict>
-</plist>
View
16 Snippets/should_receive.tmSnippet
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>content</key>
- <string>${1:mock}${1/^.+$/./}should_receive(:${2:message})</string>
- <key>name</key>
- <string>should_receive</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shr</string>
- <key>uuid</key>
- <string>0A7E08E5-4756-49BA-B015-FB3A4D11EA45</string>
-</dict>
-</plist>
View
16 Snippets/should_receive_with_args.tmSnippet
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>content</key>
- <string>with(${1:args})</string>
- <key>name</key>
- <string>with args</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>wia</string>
- <key>uuid</key>
- <string>3F3E8066-8C1A-40D1-85C7-9DC18C6A34BA</string>
-</dict>
-</plist>
View
16 Snippets/should_redirect_to.tmSnippet
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>content</key>
- <string>response.should redirect_to(${1:url})$0</string>
- <key>name</key>
- <string>should redirect_to</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shrt</string>
- <key>uuid</key>
- <string>96F0A193-32F1-4A75-9093-5D20E36593EC</string>
-</dict>
-</plist>
View
16 Snippets/should_render.tmSnippet
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>content</key>
- <string>response.should render_template(:${1:template})$0</string>
- <key>name</key>
- <string>should render_template</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shrt</string>
- <key>uuid</key>
- <string>647C94D6-42FE-40F0-8618-73F7725BF59E</string>
-</dict>
-</plist>
View
16 Snippets/should_respond_to.tmSnippet
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>content</key>
- <string>${1:target}.should respond_to(:${2:sym})$0</string>
- <key>name</key>
- <string>should respond_to</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shrt</string>
- <key>uuid</key>
- <string>D139CA8C-AACC-4314-AB86-BB3021D31B12</string>
-</dict>
-</plist>
View
16 Snippets/should_satisfy.tmSnippet
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>content</key>
- <string>${1:target}.should satisfy { |obj| $2 }$0</string>
- <key>name</key>
- <string>should satisfy</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shs</string>
- <key>uuid</key>
- <string>3FF9AC90-799D-4BFD-8203-58199A1AD429</string>
-</dict>
-</plist>
View
16 Snippets/should_throw.tmSnippet
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>content</key>
- <string>lambda { $1 }.should throw_symbol(:${2:symbol})$0</string>
- <key>name</key>
- <string>should throw</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>sht</string>
- <key>uuid</key>
- <string>C41E8AD6-00F5-44E7-9809-F79666FE79F0</string>
-</dict>
-</plist>
View
16 Snippets/should_validate_presence_of.tmSnippet
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
- <dict>
- <key>content</key>
- <string>it { should validate_presence_of :$0 }</string>
- <key>name</key>
- <string>and_return with args</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>vp</string>
- <key>uuid</key>
- <string>9aacecfc-4c45-4bbd-aa90-5a21a50a3743</string>
- </dict>
-</plist>
Please sign in to comment.
Something went wrong with that request. Please try again.