diff options
author | Jonathan Garvin <jon@5valleys.com> | 2013-01-16 19:19:31 -0700 |
---|---|---|
committer | Jonathan Garvin <jon@5valleys.com> | 2013-01-16 19:19:31 -0700 |
commit | f58e268e38f781c618773307da4e3273ad912671 (patch) | |
tree | 207101879849c7f818f9e0abc33edcf05a5b8edc /guides/source | |
parent | e7ffb5e4e3b9ebedc7a87d32f0cb5c708cde784c (diff) | |
download | rails-f58e268e38f781c618773307da4e3273ad912671.tar.gz rails-f58e268e38f781c618773307da4e3273ad912671.tar.bz2 rails-f58e268e38f781c618773307da4e3273ad912671.zip |
clarify awkward sentence re: email testing
Diffstat (limited to 'guides/source')
-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 7747318d32..0b3bed8dbe 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -945,7 +945,7 @@ Cheers! This is the right time to understand a little more about writing tests for your mailers. The line `ActionMailer::Base.delivery_method = :test` in `config/environments/test.rb` sets the delivery method to test mode so that email will not actually be delivered (useful to avoid spamming your users while testing) but instead it will be appended to an array (`ActionMailer::Base.deliveries`). -However often in unit tests, mails will not actually be sent, simply constructed, as in the example above, where the precise content of the email is checked against what it should be. +This way, emails are not actually sent, simply constructed. The precise content of the email can then be checked against what is expected, as in the example above. ### Functional Testing |