projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a09f49
)
Test new API permissions route
author
Tom Hughes
<tom@compton.nu>
Sat, 5 May 2012 14:30:10 +0000
(15:30 +0100)
committer
Tom Hughes
<tom@compton.nu>
Sat, 5 May 2012 14:30:23 +0000
(15:30 +0100)
test/functional/api_controller_test.rb
patch
|
blob
|
history
diff --git
a/test/functional/api_controller_test.rb
b/test/functional/api_controller_test.rb
index d3e1d5485af6e3e1ece8fa9d5a9f639e090f099a..01a227b37d62ce83b71357db6c2c727daccbae0c 100644
(file)
--- a/
test/functional/api_controller_test.rb
+++ b/
test/functional/api_controller_test.rb
@@
-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" }