summaryrefslogtreecommitdiffstats
path: root/test/integration/routing/auto_completes_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/routing/auto_completes_test.rb')
-rw-r--r--test/integration/routing/auto_completes_test.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/integration/routing/auto_completes_test.rb b/test/integration/routing/auto_completes_test.rb
index 4b717fc69..923e06980 100644
--- a/test/integration/routing/auto_completes_test.rb
+++ b/test/integration/routing/auto_completes_test.rb
@@ -17,11 +17,8 @@
require File.expand_path('../../../test_helper', __FILE__)
-class RoutingAutoCompletesTest < ActionDispatch::IntegrationTest
+class RoutingAutoCompletesTest < Redmine::RoutingTest
def test_auto_completes
- assert_routing(
- { :method => 'get', :path => "/issues/auto_complete" },
- { :controller => 'auto_completes', :action => 'issues' }
- )
+ should_route 'GET /issues/auto_complete' => 'auto_completes#issues'
end
end