diff options
Diffstat (limited to 'test/integration/routing/groups_test.rb')
-rw-r--r-- | test/integration/routing/groups_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration/routing/groups_test.rb b/test/integration/routing/groups_test.rb index fe0e1ac80..96d187144 100644 --- a/test/integration/routing/groups_test.rb +++ b/test/integration/routing/groups_test.rb @@ -48,6 +48,10 @@ class RoutingGroupsTest < ActionController::IntegrationTest { :controller => 'groups', :action => 'autocomplete_for_user', :id => '1' } ) assert_routing( + { :method => 'get', :path => "/groups/1/autocomplete_for_user.js" }, + { :controller => 'groups', :action => 'autocomplete_for_user', :id => '1', :format => 'js' } + ) + assert_routing( { :method => 'get', :path => "/groups/1" }, { :controller => 'groups', :action => 'show', :id => '1' } ) |