From 889a4a3da025e52d0f044d9b1b832a45fcc88c01 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 10 Jul 2015 11:29:57 -0700 Subject: remove useless ivar clearing Since we only work with new instances, these ivars will not be set. --- actionpack/lib/action_controller/test_case.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb index afd15b8630..d92d18933a 100644 --- a/actionpack/lib/action_controller/test_case.rb +++ b/actionpack/lib/action_controller/test_case.rb @@ -101,12 +101,6 @@ module ActionController path_parameters[:action] = action self.path_parameters = path_parameters - - # Clear the combined params hash in case it was already referenced. - @env.delete("action_dispatch.request.parameters") - - # Clear the filter cache variables so they're not stale - @filtered_parameters = @filtered_env = @filtered_path = nil end ENCODER = Class.new do -- cgit v1.2.3