Skip to content

Commit

Permalink
Rename trigger for expectation of error from 'raise' to 'experr'
Browse files Browse the repository at this point in the history
  • Loading branch information
iurifq committed Oct 30, 2013
1 parent 5eeaf6d commit 5598d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snippets/ruby.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ snippet exp
expect(${1:object}).to ${0}
snippet expb
expect { ${1:object} }.to ${0}
snippet raise
snippet experr
expect { ${1:object} }.to raise_error ${2:StandardError}, /${0:message_regex}/
snippet shared
shared_examples ${0:"shared examples name"}
Expand Down

0 comments on commit 5598d89

Please sign in to comment.