Test new API permissions route

This commit is contained in:
Tom Hughes 2012-05-05 15:30:10 +01:00
parent 6a09f49e71
commit c2148e395d

View 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" }