From 7aeba4cf57397d99a54e4c767b14936679de4b6a Mon Sep 17 00:00:00 2001 From: ToruIwashita Date: Wed, 3 Jun 2015 22:44:00 +0900 Subject: [PATCH] Add new snippets for rspec --- snippets/ruby.snippets | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/snippets/ruby.snippets b/snippets/ruby.snippets index 22878c3..c999ba2 100644 --- a/snippets/ruby.snippets +++ b/snippets/ruby.snippets @@ -723,3 +723,11 @@ snippet is it { should ${0} } snippet isn 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} }