Rename 'exp' snippet to more common snippet.
The old 'exp' with a block expectation becomes 'expb'.
This commit is contained in:
parent
940d31aa06
commit
5eeaf6dd24
@ -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}/
|
||||||
|
Loading…
Reference in New Issue
Block a user