]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/notes_controller_test.rb
Restore constraints on note id parameter
[rails.git] / test / controllers / notes_controller_test.rb
index e68a5f33beec2f4eb3c44a2d76da25c9f88788ec..ff1071897f79d197ba24cc8a16a40cec8b754fac 100644 (file)
@@ -179,9 +179,9 @@ class NotesControllerTest < ActionDispatch::IntegrationTest
       get path_method.call
     end
 
-    assert_raise ActionController::UrlGenerationError do
-      get path_method.call(:id => -10) # we won't have an id that's negative
-    end
+    assert_raise ActionController::UrlGenerationError do
+      get path_method.call(:id => -10) # we won't have an id that's negative
+    end
 
     get path_method.call(:id => 0)
     assert_response :not_found