1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib/action_dispatch/testing
Tobias Bühlmann 8246a8139c
Allow using parsed_body in ActionController::TestCase
… by switching the initialzation of an appropriate response parser
in `ActionDispatch::TestResponse` from eagerly to lazily.

By doing so, the response parser can be correctly set for
`ActionController::TestCase`, which doesn't include
the content type header in the constructor but only sets it at
a later time.

Fixes #34676.
2018-12-16 12:27:37 +01:00
..
assertions Revert "Merge pull request #33970 from rails/eager-url-helpers" 2018-10-03 16:15:47 -05:00
assertion_response.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
assertions.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
integration.rb Enable Start/EndWith and RegexpMatch cops 2018-07-28 17:37:17 -04:00
request_encoder.rb Prevent RequestEncoder#encode_params to parse falsey params 2018-07-20 15:18:49 +04:30
test_process.rb Clarify example of the test [ci skip] 2018-08-25 21:44:11 +08:00
test_request.rb Use tt in doc for ActionPack [ci skip] 2017-08-26 15:41:31 +09:00
test_response.rb Allow using parsed_body in ActionController::TestCase 2018-12-16 12:27:37 +01:00