diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-06-30 13:39:08 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-06-30 13:39:08 -0300 |
commit | 58a5c84b09cf5bccccc9000770d108d97a90d099 (patch) | |
tree | 8d6f4ba096704856c6fdc25defb16152dd6d8074 | |
parent | 088b4c3e7673902831077e45ba6fcc7c90045f7c (diff) | |
parent | a3a73d1a119a99c1a3dcc0c0fa95dbcd22d69d87 (diff) | |
download | rails-58a5c84b09cf5bccccc9000770d108d97a90d099.tar.gz rails-58a5c84b09cf5bccccc9000770d108d97a90d099.tar.bz2 rails-58a5c84b09cf5bccccc9000770d108d97a90d099.zip |
Merge pull request #15989 from nickpellant/master
Fix 10.3 invite_email.body assert_match documentation example.
-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 a55466341a..09833ed78c 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -996,7 +996,7 @@ class UserControllerTest < ActionController::TestCase assert_equal "You have been invited by me@example.com", invite_email.subject assert_equal 'friend@example.com', invite_email.to[0] - assert_match(/Hi friend@example.com/, invite_email.body) + assert_match(/Hi friend@example.com/, invite_email.body.to_s) end end ``` |