diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-05-20 15:33:08 -0700 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-05-20 15:34:26 -0700 |
commit | 01f032f256f96f65e154061b582fbb4b32e4a692 (patch) | |
tree | 9d9d0deeeec9a8c86c0b85c55c3ed13385f55f49 /actionpack/lib/action_controller/testing/process.rb | |
parent | c03b0ca7eb7e73587005e1440bf90cd01ed10aa5 (diff) | |
download | rails-01f032f256f96f65e154061b582fbb4b32e4a692.tar.gz rails-01f032f256f96f65e154061b582fbb4b32e4a692.tar.bz2 rails-01f032f256f96f65e154061b582fbb4b32e4a692.zip |
Added responds_to to new base.
Diffstat (limited to 'actionpack/lib/action_controller/testing/process.rb')
-rw-r--r-- | actionpack/lib/action_controller/testing/process.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/testing/process.rb b/actionpack/lib/action_controller/testing/process.rb index 8831ff57e2..9647f8ce45 100644 --- a/actionpack/lib/action_controller/testing/process.rb +++ b/actionpack/lib/action_controller/testing/process.rb @@ -41,6 +41,7 @@ module ActionController #:nodoc: end def recycle! + @formats = nil @env.delete_if { |k, v| k =~ /^(action_dispatch|rack)\.request/ } @env.delete_if { |k, v| k =~ /^action_dispatch\.rescue/ } @env['action_dispatch.request.query_parameters'] = {} |