Add more rspec snippets.

This commit is contained in:
Iuri Fernandes 2013-02-05 10:02:29 -03:00
parent 22b4f2073b
commit 576063eb67

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} }