diff options
author | Jon Moss <me@jonathanmoss.me> | 2016-11-22 16:25:44 -0500 |
---|---|---|
committer | Jon Moss <me@jonathanmoss.me> | 2016-12-11 14:37:18 -0500 |
commit | 78c6c4b24810e505921d0bb3575c7a59e416c268 (patch) | |
tree | 545f4da349ee1019d138941188e73b81d7849b34 /actionpack/lib/action_controller | |
parent | 7e9ae610a22f191df1337e6d05cdd9c0bcdee571 (diff) | |
download | rails-78c6c4b24810e505921d0bb3575c7a59e416c268.tar.gz rails-78c6c4b24810e505921d0bb3575c7a59e416c268.tar.bz2 rails-78c6c4b24810e505921d0bb3575c7a59e416c268.zip |
Do not clear HTTP_COOKIES header after request
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/test_case.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb index 85f2501d42..15f3173e06 100644 --- a/actionpack/lib/action_controller/test_case.rb +++ b/actionpack/lib/action_controller/test_case.rb @@ -514,8 +514,6 @@ module ActionController @request = @controller.request @response = @controller.response - @request.delete_header "HTTP_COOKIE" - if @request.have_cookie_jar? unless @request.cookie_jar.committed? @request.cookie_jar.write(@response) |