From 9ca4839a1aa369d934f08c9307196db3e19e9592 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Thu, 22 May 2014 15:57:24 -0700 Subject: stop using PARAMETERS_KEY, and use the accessor on the request object this decouples our code from the env hash a bit. --- actionpack/test/dispatch/routing_test.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'actionpack/test/dispatch/routing_test.rb') 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 -- cgit v1.2.3