Check that the /api/0.6/capabilities.json route is recognised
This commit is contained in:
parent
24d6b3c55f
commit
3539328d1c
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue