diff options
author | Jean Boussier <jean.boussier@gmail.com> | 2019-04-03 15:13:34 +0200 |
---|---|---|
committer | Jean Boussier <jean.boussier@gmail.com> | 2019-04-03 22:26:52 +0200 |
commit | ed7234860b061b7b82672e6ba51c682254cd7eb7 (patch) | |
tree | 61cbe0739fa8698b48d00afdf6cf417a83cadbb3 /actionpack/test | |
parent | 9864f5e3d693b53c3540637c562a5be6e1e2c66a (diff) | |
download | rails-ed7234860b061b7b82672e6ba51c682254cd7eb7.tar.gz rails-ed7234860b061b7b82672e6ba51c682254cd7eb7.tar.bz2 rails-ed7234860b061b7b82672e6ba51c682254cd7eb7.zip |
Deduplicate strings held by the router
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/dispatch/routing_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/dispatch/routing_test.rb b/actionpack/test/dispatch/routing_test.rb index 11772a36a3..362488d585 100644 --- a/actionpack/test/dispatch/routing_test.rb +++ b/actionpack/test/dispatch/routing_test.rb @@ -3379,13 +3379,13 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest assert_match(/:param option can't contain colon/, ex.message) end - def test_action_from_path_is_not_frozen + def test_action_from_path_is_frozen draw do get "search" => "search" end get "/search" - assert_not_predicate @request.params[:action], :frozen? + assert_predicate @request.params[:action], :frozen? end def test_multiple_positional_args_with_the_same_name |