diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2016-06-30 14:46:40 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2016-06-30 19:56:20 +0530 |
commit | 61ec678dff8b10bd562b7780f505f56e68444124 (patch) | |
tree | 654bb17476ca4c561b9dea3e1704d0d9ce0549ba /guides/rails_guides | |
parent | bb9a4f3f6daafb0089c068522dec0380e68d7fcd (diff) | |
download | rails-61ec678dff8b10bd562b7780f505f56e68444124.tar.gz rails-61ec678dff8b10bd562b7780f505f56e68444124.tar.bz2 rails-61ec678dff8b10bd562b7780f505f56e68444124.zip |
Update testing guide for Rails 5 release [ci skip]
- Update the testing guide as per output of test runner.
- Show how to see all the options provided by test runner.
- We no longer generate fixture named :first.
- Update the request methods with URL helpers and also fix few wrong occurrences.
- Generated test case does not have assert_includes for response body.
- This removes code from https://github.com/rails/rails/commit/ca83436d
but I think that might be oversight. We don't generate such code in
the generated controller test.
- Update the helper example to suite the integration style of tests.
- We can't modify session directly in new integration style controller
tests.
- Show an example which matches with integration style request tests.
- Active Job default adapter for tests is async, not test.
- Fix the example of request headers and CGI variables.
Diffstat (limited to 'guides/rails_guides')
0 files changed, 0 insertions, 0 deletions