summaryrefslogtreecommitdiffstats
path: root/test/integration/routing/members_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/routing/members_test.rb')
-rw-r--r--test/integration/routing/members_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration/routing/members_test.rb b/test/integration/routing/members_test.rb
index 26ba3e1db..c796eab46 100644
--- a/test/integration/routing/members_test.rb
+++ b/test/integration/routing/members_test.rb
@@ -55,5 +55,9 @@ class RoutingMembersTest < ActionController::IntegrationTest
{ :method => 'get', :path => "/projects/5234/memberships/autocomplete" },
{ :controller => 'members', :action => 'autocomplete', :project_id => '5234' }
)
+ assert_routing(
+ { :method => 'get', :path => "/projects/5234/memberships/autocomplete.js" },
+ { :controller => 'members', :action => 'autocomplete', :project_id => '5234', :format => 'js' }
+ )
end
end