]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/way_controller_test.rb
Reverse coordinates order only when called with two nondescript numbers
[rails.git] / test / controllers / way_controller_test.rb
index 285efe2691637cffab638d118f73dd1d34579c3d..3d466de8bbfca3893c9182173b7255c8f1f81e8b 100644 (file)
@@ -105,7 +105,7 @@ class WayControllerTest < ActionController::TestCase
     end
 
     # check error when a non-existent way is included
     end
 
     # check error when a non-existent way is included
-    get :ways, :params => { :ways => "#{way1.id},#{way2.id},#{way3.id},#{way4.id},400" }
+    get :ways, :params => { :ways => "#{way1.id},#{way2.id},#{way3.id},#{way4.id},0" }
     assert_response :not_found
   end
 
     assert_response :not_found
   end