aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/routing_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/dispatch/routing_test.rb')
-rw-r--r--actionpack/test/dispatch/routing_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/dispatch/routing_test.rb b/actionpack/test/dispatch/routing_test.rb
index 2fe40de583..cac89417a5 100644
--- a/actionpack/test/dispatch/routing_test.rb
+++ b/actionpack/test/dispatch/routing_test.rb
@@ -1761,7 +1761,7 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest
def test_keyed_default_string_params_with_root
draw do
- root :to => 'pages#show', :defaults => { :id => 'home' }
+ root to: 'pages#show', defaults: { id: 'home' }
end
get '/'
@@ -1770,7 +1770,7 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest
def test_default_string_params_with_root
draw do
- root :to => 'pages#show', :id => 'home'
+ root to: 'pages#show', id: 'home'
end
get '/'