Add new snippets for rspec
This commit is contained in:
parent
0e9eff1bf3
commit
7aeba4cf57
@ -723,3 +723,11 @@ snippet is
|
|||||||
it { should ${0} }
|
it { should ${0} }
|
||||||
snippet isn
|
snippet isn
|
||||||
it { should_not ${0} }
|
it { should_not ${0} }
|
||||||
|
snippet iexp
|
||||||
|
it { expect(${1:object}).${1} ${0} }
|
||||||
|
snippet iexpb
|
||||||
|
it { expect { ${1:object} }.${1} ${0} }
|
||||||
|
snippet iiexp
|
||||||
|
it { is_expected.to ${0} }
|
||||||
|
snippet iiexpn
|
||||||
|
it { is_expected.not_to ${0} }
|
||||||
|
Loading…
Reference in New Issue
Block a user