From 5eeaf6dd242af9ecfe251574f4a17358d92e9419 Mon Sep 17 00:00:00 2001 From: Iuri Fernandes Date: Tue, 29 Oct 2013 22:09:20 -0300 Subject: [PATCH] Rename 'exp' snippet to more common snippet. The old 'exp' with a block expectation becomes 'expb'. --- snippets/ruby.snippets | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snippets/ruby.snippets b/snippets/ruby.snippets index 139a361..ecf12d3 100644 --- a/snippets/ruby.snippets +++ b/snippets/ruby.snippets @@ -995,6 +995,8 @@ snippet s. snippet spec specify { subject.${0} } snippet exp + expect(${1:object}).to ${0} +snippet expb expect { ${1:object} }.to ${0} snippet raise expect { ${1:object} }.to raise_error ${2:StandardError}, /${0:message_regex}/