aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/routing_test.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-07-04 14:17:34 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-07-04 14:17:34 -0300
commit540a0ba8e2234344b4f47ea1cdbedf8c84b74dbf (patch)
tree3d3e5027b68961eb6c8957a4048c8407feaa4d00 /actionpack/test/dispatch/routing_test.rb
parentc59c09126f9e80b45e381eb6939bb0577738924a (diff)
parentcb5f2d321587e80964e051b52c5d7e5a3cc0aaaa (diff)
downloadrails-540a0ba8e2234344b4f47ea1cdbedf8c84b74dbf.tar.gz
rails-540a0ba8e2234344b4f47ea1cdbedf8c84b74dbf.tar.bz2
rails-540a0ba8e2234344b4f47ea1cdbedf8c84b74dbf.zip
Merge pull request #16013 from tgxworld/remove_symbolized_path_parameters
Remove symbolized_path_parameters.
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 778dbfc74d..130f2b5b21 100644
--- a/actionpack/test/dispatch/routing_test.rb
+++ b/actionpack/test/dispatch/routing_test.rb
@@ -2831,7 +2831,7 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest
end
end
- def test_symbolized_path_parameters_is_not_stale
+ def test_path_parameters_is_not_stale
draw do
scope '/countries/:country', :constraints => lambda { |params, req| %w(all France).include?(params[:country]) } do
get '/', :to => 'countries#index'
@@ -3148,7 +3148,7 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest
get '/downloads/1/1.tar'
assert_equal 'downloads#show', @response.body
- assert_equal expected_params, @request.symbolized_path_parameters
+ assert_equal expected_params, @request.path_parameters
assert_equal '/downloads/1/1.tar', download_path('1')
assert_equal '/downloads/1/1.tar', download_path('1', '1')
end