### Steps to reproduce [Reproduction Script](https://gist.github.com/iamchucky/c0d6acb48befe9ac72c12e079739cb2e) ### Expected behavior `cookies["foo"]` in test cases should be `nil` after `cookies.delete` is called in controller ### Actual behavior only GET request has the `cookies["foo"]` deleted while other request types still has `cookies["foo"]` ### System configuration **Rails version**: 5.0.1, 5-0-stable **Ruby version**: 2.3.1p112 Note that this is passing for Rails 4.2.7.1 I've noticed that https://github.com/rails/rails/commit/ae29142142324545a328948e059e8b8118fd7a33 has `cookies.update res.cookies` only for `get` but not for other request types, is that the root of the issue though? This issue also seems to be related: https://github.com/rspec/rspec-rails/issues/1574