diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-11-23 22:24:35 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2016-11-23 22:24:35 +0100 |
commit | 44d58cd438dcb0b1f0d7b396cad3556247ea5983 (patch) | |
tree | 4bfaa6379374d729a04af59c6bf5e9e427bea52e /actionpack | |
parent | dcf639f4adfe3819866dde86804d87e67845803b (diff) | |
download | rails-44d58cd438dcb0b1f0d7b396cad3556247ea5983.tar.gz rails-44d58cd438dcb0b1f0d7b396cad3556247ea5983.tar.bz2 rails-44d58cd438dcb0b1f0d7b396cad3556247ea5983.zip |
[ci skip] Add changelog entry for 86754a8f
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/CHANGELOG.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 0c8625ae08..3123fc9786 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,3 +1,14 @@ +* Use accept header in integration tests with `as: :json` + + Instead of appending the `format` to the request path. Rails will figure + out the format from the header instead. + + This allows devs to use `:as` on routes that don't have a format. + + Fixes #27144. + + *Kasper Timm Hansen* + * Reset a new session directly after its creation in ActionDispatch::IntegrationTest#open_session. Fixes #22742. |