1
0
Fork 0
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:
anthonygharvey 2018-10-17 20:50:16 -04:00
parent aed7e00039
commit e50debf1ae

View file

@ -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.