Rename 'exp' snippet to more common snippet.

The old 'exp' with a block expectation becomes 'expb'.
This commit is contained in:
Iuri Fernandes 2013-10-29 22:09:20 -03:00
parent 940d31aa06
commit 5eeaf6dd24

View File

@ -995,6 +995,8 @@ snippet s.
snippet spec snippet spec
specify { subject.${0} } specify { subject.${0} }
snippet exp snippet exp
expect(${1:object}).to ${0}
snippet expb
expect { ${1:object} }.to ${0} expect { ${1:object} }.to ${0}
snippet raise snippet raise
expect { ${1:object} }.to raise_error ${2:StandardError}, /${0:message_regex}/ expect { ${1:object} }.to raise_error ${2:StandardError}, /${0:message_regex}/