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