X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/24d6b3c55f33f2097f86716d82197ec34b69c7c3..3539328d1c7a4c7d60cf12d831664ae3d92bafe6:/test/controllers/api/capabilities_controller_test.rb diff --git a/test/controllers/api/capabilities_controller_test.rb b/test/controllers/api/capabilities_controller_test.rb index ced2359d3..aa8e21938 100644 --- a/test/controllers/api/capabilities_controller_test.rb +++ b/test/controllers/api/capabilities_controller_test.rb @@ -17,6 +17,10 @@ module Api { :controller => "api/capabilities", :action => "show" }, { :path => "/api/0.6/capabilities", :method => :get } ) + assert_recognizes( + { :controller => "api/capabilities", :action => "show", :format => "json" }, + { :path => "/api/0.6/capabilities.json", :method => :get } + ) end def test_capabilities