Merge pull request #173 from iurifq/master
Even more ruby rspec snippets
This commit is contained in:
commit
843e6dd30b
@ -934,3 +934,13 @@ snippet subj
|
||||
subject { ${1} }
|
||||
snippet spec
|
||||
specify { subject.${1} }
|
||||
snippet exp
|
||||
expect(${1:object}).to ${2}
|
||||
snippet bt
|
||||
be_true
|
||||
snippet bf
|
||||
be_false
|
||||
snippet shared
|
||||
shared_examples "${1:shared examples name}" ${2}
|
||||
snippet itb
|
||||
it_behaves_like "${1:shared examples name}"${2}
|
||||
|
Loading…
Reference in New Issue
Block a user