未验证 提交 f8a2304f 编写于 作者: Y Yuji Yaginuma 提交者: GitHub

Merge pull request #34249 from anthonygharvey/fix_testing_guide_typo

Fix typo in testing guide
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册