aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorEileen M. Uchitelle <eileencodes@users.noreply.github.com>2017-05-12 16:29:15 -0400
committerGitHub <noreply@github.com>2017-05-12 16:29:15 -0400
commit23aa0a2bb551717f153ac75f24c017c43ab853f2 (patch)
treeaa9db61e633126e7387ed7fd457df76f64e9d3e1 /guides
parent276bfa7fc6efb0cea4408fe9f97b8741737b7549 (diff)
parentb373d84fb2a3d9756f3e0276e4fb52fd2ae09afa (diff)
downloadrails-23aa0a2bb551717f153ac75f24c017c43ab853f2.tar.gz
rails-23aa0a2bb551717f153ac75f24c017c43ab853f2.tar.bz2
rails-23aa0a2bb551717f153ac75f24c017c43ab853f2.zip
Merge pull request #29064 from boykoc/revenge-of-the-fixtures
[ci skip] Mailer fixtures in Testing guide.
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 71fb6fb0e8..ced88e888c 100644
--- a/guides/source/testing.md
+++ b/guides/source/testing.md
@@ -1406,7 +1406,7 @@ In order to test that your mailer is working as expected, you can use unit tests
For the purposes of unit testing a mailer, fixtures are used to provide an example of how the output _should_ look. Because these are example emails, and not Active Record data like the other fixtures, they are kept in their own subdirectory apart from the other fixtures. The name of the directory within `test/fixtures` directly corresponds to the name of the mailer. So, for a mailer named `UserMailer`, the fixtures should reside in `test/fixtures/user_mailer` directory.
-When you generated your mailer, the generator creates stub fixtures for each of the mailers actions. If you didn't use the generator, you'll have to create those files yourself.
+If you generated your mailer, the generator does not create stub fixtures for the mailers actions. You'll have to create those files yourself as described above.
#### The Basic Test Case