]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/api_controller_test.rb
Test new API permissions route
[rails.git] / test / functional / api_controller_test.rb
index d3e1d5485af6e3e1ece8fa9d5a9f639e090f099a..01a227b37d62ce83b71357db6c2c727daccbae0c 100644 (file)
@@ -29,6 +29,10 @@ class ApiControllerTest < ActionController::TestCase
       { :controller => "api", :action => "capabilities" }, 
       { :path => "/api/0.6/capabilities", :method => :get }
     )
+    assert_routing(
+      { :path => "/api/0.6/permissions", :method => :get },
+      { :controller => "api", :action => "permissions" }
+    )
     assert_routing(
       { :path => "/api/0.6/map", :method => :get },
       { :controller => "api", :action => "map" }