aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailbox
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-12-28 17:29:40 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-12-28 17:29:40 +0900
commite4b6495fd14cfcae7f101821ebf296c75ceca996 (patch)
treefdd9dffe94cf83b39c0ff8531c039addd640f920 /actionmailbox
parentd082439cf7e577e266bfeb7b443569f323df1673 (diff)
downloadrails-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.rb4
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