aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorGannon McGibbon <gannon.mcgibbon@gmail.com>2018-09-27 23:26:25 -0400
committerGitHub <noreply@github.com>2018-09-27 23:26:25 -0400
commitd32d5c681d9b68b178f419ff36660dc9a1aafa5e (patch)
treeab08774f6ebc497c72f64f27d4a4d9590716f6aa /guides
parenta27c78427a3cef06235ea2d05a689b7309d52334 (diff)
parent919b50822f637d05c45d0b82a27e24bd2579bbf9 (diff)
downloadrails-d32d5c681d9b68b178f419ff36660dc9a1aafa5e.tar.gz
rails-d32d5c681d9b68b178f419ff36660dc9a1aafa5e.tar.bz2
rails-d32d5c681d9b68b178f419ff36660dc9a1aafa5e.zip
Merge pull request #33833 from duduribeiro/patch-2
[ci skip] Do not recommend testing stored object in template
Diffstat (limited to 'guides')
-rw-r--r--guides/source/testing.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md
index de93e1c653..9de2229672 100644
--- a/guides/source/testing.md
+++ b/guides/source/testing.md
@@ -1028,8 +1028,8 @@ You should test for things such as:
* was the web request successful?
* was the user redirected to the right page?
* was the user successfully authenticated?
-* was the correct object stored in the response template?
* was the appropriate message displayed to the user in the view?
+* was the correct information displayed in the response?
The easiest way to see functional tests in action is to generate a controller using the scaffold generator: