From dc336dcd497991c00fb5a6f35eed0213687cc310 Mon Sep 17 00:00:00 2001 From: aisensiy Date: Thu, 27 Jun 2013 16:00:14 +0800 Subject: [PATCH] ruby test assert_diff with a chance to set value --- snippets/ruby.snippets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snippets/ruby.snippets b/snippets/ruby.snippets index c38c74e..2c93448 100644 --- a/snippets/ruby.snippets +++ b/snippets/ruby.snippets @@ -596,8 +596,8 @@ snippet artp snippet artpp assert_redirected_to ${1:model}s_path snippet asd - assert_difference "${1:Model}.${2:count}", $1 do - ${3} + assert_difference "${1:Model}.${2:count}", ${3:1} do + ${4} end snippet asnd assert_no_difference "${1:Model}.${2:count}" do