Add snippets to rspec shared examples and new rspec syntax.

This commit is contained in:
Iuri Fernandes 2013-02-18 10:09:55 -03:00
parent a9d59fdc86
commit 6c4c7f51d7

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}