diff options
author | anthonygharvey <anthony@anthonygharvey.com> | 2018-10-17 20:50:16 -0400 |
---|---|---|
committer | anthonygharvey <anthony@anthonygharvey.com> | 2018-10-17 20:50:16 -0400 |
commit | e50debf1ae0c7211f48b93693ec7e49eafd1e487 (patch) | |
tree | e16d848874a7090a60b963faa81916fbde2e8bc9 /guides | |
parent | aed7e00039057722f93d33a45d00718f176be05a (diff) | |
download | rails-e50debf1ae0c7211f48b93693ec7e49eafd1e487.tar.gz rails-e50debf1ae0c7211f48b93693ec7e49eafd1e487.tar.bz2 rails-e50debf1ae0c7211f48b93693ec7e49eafd1e487.zip |
Fix typo in testing guide
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/testing.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md index 9de2229672..8c21ccfba6 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -1562,7 +1562,7 @@ class UserMailerTest < ActionMailer::TestCase end ``` -In the test we send the email and store the returned object in the `email` +In the test we create the email and store the returned object in the `email` variable. We then ensure that it was sent (the first assert), then, in the second batch of assertions, we ensure that the email does indeed contain what we expect. The helper `read_fixture` is used to read in the content from this file. |