diff options
-rw-r--r-- | actionpack/lib/action_controller/metal/testing.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/testing.rb b/actionpack/lib/action_controller/metal/testing.rb index 47d940f692..4b570ba8e1 100644 --- a/actionpack/lib/action_controller/metal/testing.rb +++ b/actionpack/lib/action_controller/metal/testing.rb @@ -4,7 +4,6 @@ module ActionController # TODO : Rewrite tests using controller.headers= to use Rack env def headers=(new_headers) - @_response ||= ActionDispatch::Response.new @_response.headers.replace(new_headers) end |