Merge pull request #173 from iurifq/master

Even more ruby rspec snippets
This commit is contained in:
Eustáquio Rangel 2013-02-19 10:43:00 -08:00
commit 843e6dd30b

View File

@ -934,3 +934,13 @@ snippet subj
subject { ${1} } subject { ${1} }
snippet spec snippet spec
specify { subject.${1} } specify { subject.${1} }
snippet exp
expect(${1:object}).to ${2}
snippet bt
be_true
snippet bf
be_false
snippet shared
shared_examples "${1:shared examples name}" ${2}
snippet itb
it_behaves_like "${1:shared examples name}"${2}