diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-12-28 17:29:40 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-12-28 17:29:40 +0900 |
commit | e4b6495fd14cfcae7f101821ebf296c75ceca996 (patch) | |
tree | fdd9dffe94cf83b39c0ff8531c039addd640f920 /actionmailbox | |
parent | d082439cf7e577e266bfeb7b443569f323df1673 (diff) | |
download | rails-e4b6495fd14cfcae7f101821ebf296c75ceca996.tar.gz rails-e4b6495fd14cfcae7f101821ebf296c75ceca996.tar.bz2 rails-e4b6495fd14cfcae7f101821ebf296c75ceca996.zip |
Fix broken Mailbox generator test
Follow up to d082439cf7e577e266bfeb7b443569f323df1673
Diffstat (limited to 'actionmailbox')
-rw-r--r-- | actionmailbox/test/generators/mailbox_generator_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionmailbox/test/generators/mailbox_generator_test.rb b/actionmailbox/test/generators/mailbox_generator_test.rb index 624fbef420..9ffa73321b 100644 --- a/actionmailbox/test/generators/mailbox_generator_test.rb +++ b/actionmailbox/test/generators/mailbox_generator_test.rb @@ -38,7 +38,7 @@ class MailboxGeneratorTest < Rails::Generators::TestCase assert_file "test/mailboxes/inceptions/inbox_mailbox_test.rb" do |mailbox| assert_match(/class Inceptions::InboxMailboxTest < ActionMailbox::TestCase/, mailbox) assert_match(/# test "receive mail" do/, mailbox) - assert_match(/# to: '"someone" <someone@example.com>,/, mailbox) + assert_match(/# to: '"someone" <someone@example.com>',/, mailbox) end assert_file "app/mailboxes/application_mailbox.rb" do |mailbox| @@ -62,7 +62,7 @@ class MailboxGeneratorTest < Rails::Generators::TestCase assert_file "test/mailboxes/inbox_mailbox_test.rb" do |test| assert_match(/class InboxMailboxTest < ActionMailbox::TestCase/, test) assert_match(/# test "receive mail" do/, test) - assert_match(/# to: '"someone" <someone@example.com>,/, test) + assert_match(/# to: '"someone" <someone@example.com>',/, test) end end |