1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test
Remo Fritzsche a0061d2389 Pass along arguments to underlying get method in follow_redirect! (#33299)
* Allow get arguments for follow_redirect

Now all arguments passed to `follow_redirect!` are passed to the
underlying `get` method. This for example allows to set custom headers
for the redirection request to the server.

This is especially useful for setting headers that may, outside of the
testing environment, be set automatically on every request, i.e. by a
web application firewall.

* Allow get arguments for follow_redirect

[Remo Fritzsche + Rafael Mendonça França]
2018-07-05 16:51:52 -04:00
..
abstract Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
assertions Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
controller Pass along arguments to underlying get method in follow_redirect! (#33299) 2018-07-05 16:51:52 -04:00
dispatch Fix CustomCops/AssertNot to allow it to have failure message 2018-05-13 11:32:47 +09:00
fixtures Fix rendering a differently-formatted partial after caching 2018-04-13 14:43:12 -04:00
journey Add test case for the | token in Journey scanner 2018-06-18 09:32:23 -07:00
lib/controller Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
routing Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
abstract_unit.rb let drb make temprary server 2017-12-29 23:58:43 +09:00