Merge remote-tracking branch 'upstream/pull/5998'
[rails.git] / test / controllers / api / capabilities_controller_test.rb
index 7d2feed292dc585be422d6b67e165581fb1d08d5..fe5fbf0b7ca1051ee40e795295054a44fff22775 100644 (file)
@@ -48,7 +48,7 @@ module Api
     end
 
     def test_capabilities_json
-      get api_capabilities_path, :params => { :format => "json" }
+      get api_capabilities_path(:format => "json")
       assert_response :success
       js = ActiveSupport::JSON.decode(@response.body)
       assert_not_nil js