diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2014-12-02 16:16:43 +0000 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2014-12-02 16:20:15 +0000 |
commit | 885348f360640d144bfd881ddb9141ff7cc048f1 (patch) | |
tree | f6b5fca6a9b1789ea25caf6b67ecc96ed657b95a | |
parent | ee73d9ff8d13cb9dd3f6ec8cf2e4d3289bfd0278 (diff) | |
download | rails-885348f360640d144bfd881ddb9141ff7cc048f1.tar.gz rails-885348f360640d144bfd881ddb9141ff7cc048f1.tar.bz2 rails-885348f360640d144bfd881ddb9141ff7cc048f1.zip |
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.
-rw-r--r-- | guides/source/4_2_release_notes.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/guides/source/4_2_release_notes.md b/guides/source/4_2_release_notes.md index 737922c283..4be4406922 100644 --- a/guides/source/4_2_release_notes.md +++ b/guides/source/4_2_release_notes.md @@ -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 ------------- |