- assert_difference('Note.count') do
- assert_difference('NoteComment.count') do
- post :create, {:lat => -1.0, :lon => -1.0, :text => "This is a comment", :format => "json"}
+ assert_difference("Note.count") do
+ assert_difference("NoteComment.count") do
+ post :create, :lat => -1.0, :lon => -1.0, :text => "This is a comment", :format => "json"