From 885348f360640d144bfd881ddb9141ff7cc048f1 Mon Sep 17 00:00:00 2001 From: Andrew White Date: Tue, 2 Dec 2014 16:16:43 +0000 Subject: [PATCH] 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. --- guides/source/4_2_release_notes.md | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 -------------