aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--actionpack/test/controller/routing_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/routing_test.rb b/actionpack/test/controller/routing_test.rb
index becb928a3c..1a1610eac7 100644
--- a/actionpack/test/controller/routing_test.rb
+++ b/actionpack/test/controller/routing_test.rb
@@ -492,9 +492,9 @@ class LegacyRouteSetTests < Test::Unit::TestCase
root :to => "hello#index"
end
- routes = setup_for_named_route(trailing_slash: true)
+ routes = setup_for_named_route(:trailing_slash => true)
assert_equal("http://test.host/", routes.send(:root_url))
- assert_equal("http://test.host/?foo=bar", routes.send(:root_url, foo: :bar))
+ assert_equal("http://test.host/?foo=bar", routes.send(:root_url, :foo => :bar))
end
def test_named_route_with_regexps