Skip to content

Commit

Permalink
Fix broken Mailbox generator test
Browse files Browse the repository at this point in the history
Follow up to d082439
  • Loading branch information
y-yagi committed Dec 28, 2018
1 parent d082439 commit e4b6495
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actionmailbox/test/generators/mailbox_generator_test.rb
Expand Up @@ -38,7 +38,7 @@ def test_mailbox_skeleton_is_created_with_namespace
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|
Expand All @@ -62,7 +62,7 @@ def test_invokes_default_test_framework
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

Expand Down

0 comments on commit e4b6495

Please sign in to comment.