From 1a4fc2561dd2636adbd104f17847d96faf9e7b84 Mon Sep 17 00:00:00 2001 From: DSIW Date: Thu, 14 Mar 2013 17:46:09 +0100 Subject: [PATCH] Fix snippet exp for rspec --- snippets/ruby.snippets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/ruby.snippets b/snippets/ruby.snippets index dddc101..10ecc8d 100644 --- a/snippets/ruby.snippets +++ b/snippets/ruby.snippets @@ -968,7 +968,7 @@ snippet s. snippet spec specify { subject.${1} } snippet exp - expect(${1:object}).to ${2} + expect { ${1:object} }.to ${2} snippet raise expect { ${1:object} }.to raise_error ${2:StandardError}, /${3:message_regex}/ snippet btr