]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/api/changesets_controller_test.rb
Merge remote-tracking branch 'upstream/pull/5000'
[rails.git] / test / controllers / api / changesets_controller_test.rb
index 17a9ad9d35ec901c289c6684ca2f94a839a33445..8bb22929444de2e8da30460c5b190544419cc8d9 100644 (file)
@@ -2592,7 +2592,7 @@ module Api
 
       # bad changeset id
       assert_no_difference "changeset.subscribers.count" do
 
       # bad changeset id
       assert_no_difference "changeset.subscribers.count" do
-        post api_changeset_subscribe_path(:id => 999111), :headers => auth_header
+        post api_changeset_subscribe_path(999111), :headers => auth_header
       end
       assert_response :not_found
 
       end
       assert_response :not_found