Add snippet raise for rspec
This commit is contained in:
parent
f222c1b806
commit
9e31911a79
@ -969,6 +969,8 @@ snippet spec
|
||||
specify { subject.${1} }
|
||||
snippet exp
|
||||
expect(${1:object}).to ${2}
|
||||
snippet raise
|
||||
expect { ${1:object} }.to raise_error ${2:StandardError}, /${3:message_regex}/
|
||||
snippet btr
|
||||
be_true
|
||||
snippet bfa
|
||||
|
Loading…
Reference in New Issue
Block a user