mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Clarify change to process helpers [ci skip]
Add additional information to the release notes to explain the requirement for paths in integration tests to start with a leading slash. Fixes #17870.
This commit is contained in:
parent
ee73d9ff8d
commit
885348f360
1 changed files with 11 additions and 0 deletions
|
@ -544,6 +544,17 @@ Please refer to the [Changelog][action-view] for detailed changes.
|
|||
* Placeholder I18n follows the same convention as `label` I18n.
|
||||
([Pull Request](https://github.com/rails/rails/pull/16438))
|
||||
|
||||
* When calling the `process` helpers in an integration test the path needs to
|
||||
a leading slash. Previously you could omit it but that was a byproduct of t
|
||||
implementation and not an intentional feature, e.g.:
|
||||
|
||||
```ruby
|
||||
test "list all posts" do
|
||||
get "/posts"
|
||||
assert_response :success
|
||||
end
|
||||
```
|
||||
|
||||
|
||||
Action Mailer
|
||||
-------------
|
||||
|
|
Loading…
Reference in a new issue