diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-22 15:57:24 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-22 15:57:24 -0700 |
commit | 9ca4839a1aa369d934f08c9307196db3e19e9592 (patch) | |
tree | 0b1f21eac205e9584bd2f9fece7aaf84f7e98688 /actionpack/test | |
parent | 1b76c7e9f6ac3fa9bcde33a80a945b6045f8c1ec (diff) | |
download | rails-9ca4839a1aa369d934f08c9307196db3e19e9592.tar.gz rails-9ca4839a1aa369d934f08c9307196db3e19e9592.tar.bz2 rails-9ca4839a1aa369d934f08c9307196db3e19e9592.zip |
stop using PARAMETERS_KEY, and use the accessor on the request object
this decouples our code from the env hash a bit.
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/dispatch/routing_test.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/actionpack/test/dispatch/routing_test.rb b/actionpack/test/dispatch/routing_test.rb index 835abc1c7a..051431ce26 100644 --- a/actionpack/test/dispatch/routing_test.rb +++ b/actionpack/test/dispatch/routing_test.rb @@ -3368,7 +3368,10 @@ end class TestAltApp < ActionDispatch::IntegrationTest class AltRequest + attr_accessor :path_parameters + def initialize(env) + @path_parameters = {} @env = env end |