aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuji Yaginuma <yuuji.yaginuma@gmail.com>2018-10-19 09:46:49 +0900
committerGitHub <noreply@github.com>2018-10-19 09:46:49 +0900
commitf8a2304fdebd37f12b894b7c61f63a3e75f0da67 (patch)
treed737cec3ab68f73fe8ac03733d580019a804d111
parentb0f3070209499474d139ad46336eda9c57c16e88 (diff)
parente50debf1ae0c7211f48b93693ec7e49eafd1e487 (diff)
downloadrails-f8a2304fdebd37f12b894b7c61f63a3e75f0da67.tar.gz
rails-f8a2304fdebd37f12b894b7c61f63a3e75f0da67.tar.bz2
rails-f8a2304fdebd37f12b894b7c61f63a3e75f0da67.zip
Merge pull request #34249 from anthonygharvey/fix_testing_guide_typo
Fix typo in testing guide
-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 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.