Merge pull request #167 from iurifq/master

More ruby rspec snippets
This commit is contained in:
Eustáquio Rangel 2013-02-05 08:09:58 -08:00
commit c926318b0b

View File

@ -910,6 +910,8 @@ snippet it
snippet itp
it "${1:spec_name}"
${2}
snippet its
its(:${1:method}) { should ${2} }
snippet desc
describe ${1:class_name} do
${2}
@ -926,3 +928,9 @@ snippet aft
after :${1:each} do
${2}
end
snippet let
let(:${1:method}) { ${2} }
snippet subj
subject { ${1} }
snippet spec
specify { subject.${1} }