diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-07-10 11:29:57 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-07-10 14:19:11 -0700 |
commit | 889a4a3da025e52d0f044d9b1b832a45fcc88c01 (patch) | |
tree | 8e6e6cafa7822e98f37496e6bc2c842b9c38e72e | |
parent | 314ac0cd572ff9618997f8fd61ed381985c3a9cb (diff) | |
download | rails-889a4a3da025e52d0f044d9b1b832a45fcc88c01.tar.gz rails-889a4a3da025e52d0f044d9b1b832a45fcc88c01.tar.bz2 rails-889a4a3da025e52d0f044d9b1b832a45fcc88c01.zip |
remove useless ivar clearing
Since we only work with new instances, these ivars will not be set.
-rw-r--r-- | actionpack/lib/action_controller/test_case.rb | 6 |
1 files changed, 0 insertions, 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 |