diff options
Diffstat (limited to 'test/integration/routing/welcome_test.rb')
-rw-r--r-- | test/integration/routing/welcome_test.rb | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/test/integration/routing/welcome_test.rb b/test/integration/routing/welcome_test.rb index 2c2a32213..01a1b61b9 100644 --- a/test/integration/routing/welcome_test.rb +++ b/test/integration/routing/welcome_test.rb @@ -17,15 +17,9 @@ require File.expand_path('../../../test_helper', __FILE__) -class RoutingWelcomeTest < ActionDispatch::IntegrationTest +class RoutingWelcomeTest < Redmine::RoutingTest def test_welcome - assert_routing( - { :method => 'get', :path => "/" }, - { :controller => 'welcome', :action => 'index' } - ) - assert_routing( - { :method => 'get', :path => "/robots.txt" }, - { :controller => 'welcome', :action => 'robots' } - ) + should_route 'GET /' => 'welcome#index' + should_route 'GET /robots.txt' => 'welcome#robots' end end |