mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix typo in testing guide
This commit is contained in:
parent
aed7e00039
commit
e50debf1ae
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue