We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcf639f commit 44d58cdCopy full SHA for 44d58cd
actionpack/CHANGELOG.md
@@ -1,3 +1,14 @@
1
+* Use accept header in integration tests with `as: :json`
2
+
3
+ Instead of appending the `format` to the request path. Rails will figure
4
+ out the format from the header instead.
5
6
+ This allows devs to use `:as` on routes that don't have a format.
7
8
+ Fixes #27144.
9
10
+ *Kasper Timm Hansen*
11
12
* Reset a new session directly after its creation in ActionDispatch::IntegrationTest#open_session.
13
14
Fixes #22742.
0 commit comments