aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/generators/mailbox_generator_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/generators/mailbox_generator_test.rb b/test/generators/mailbox_generator_test.rb
index 46f1dc6ea0..9a3b23979a 100644
--- a/test/generators/mailbox_generator_test.rb
+++ b/test/generators/mailbox_generator_test.rb
@@ -12,6 +12,7 @@ class MailboxGeneratorTest < Rails::Generators::TestCase
def test_mailbox_skeleton_is_created
run_generator
+
assert_file "app/mailboxes/inbox_mailbox.rb" do |mailbox|
assert_match(/class InboxMailbox < ApplicationMailbox/, mailbox)
assert_match(/def process/, mailbox)
@@ -55,7 +56,7 @@ class MailboxGeneratorTest < Rails::Generators::TestCase
run_generator
run_generator ["inbox"], behavior: :revoke
- assert_no_file "app/mailboxes/inbox.rb"
+ assert_no_file "app/mailboxes/inbox_mailbox.rb"
end
def test_mailbox_suffix_is_not_duplicated