Merge pull request #233 from aisensiy/master
Give a chance to set the assert_difference value
This commit is contained in:
commit
7ddc89a575
@ -596,8 +596,8 @@ snippet artp
|
|||||||
snippet artpp
|
snippet artpp
|
||||||
assert_redirected_to ${1:model}s_path
|
assert_redirected_to ${1:model}s_path
|
||||||
snippet asd
|
snippet asd
|
||||||
assert_difference "${1:Model}.${2:count}", $1 do
|
assert_difference "${1:Model}.${2:count}", ${3:1} do
|
||||||
${3}
|
${4}
|
||||||
end
|
end
|
||||||
snippet asnd
|
snippet asnd
|
||||||
assert_no_difference "${1:Model}.${2:count}" do
|
assert_no_difference "${1:Model}.${2:count}" do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user