Add snippet raise for rspec

This commit is contained in:
DSIW 2013-03-14 17:45:52 +01:00
parent f222c1b806
commit 9e31911a79

View File

@ -969,6 +969,8 @@ snippet spec
specify { subject.${1} } specify { subject.${1} }
snippet exp snippet exp
expect(${1:object}).to ${2} expect(${1:object}).to ${2}
snippet raise
expect { ${1:object} }.to raise_error ${2:StandardError}, /${3:message_regex}/
snippet btr snippet btr
be_true be_true
snippet bfa snippet bfa