aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/mailbox/callbacks_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/mailbox/callbacks_test.rb')
-rw-r--r--test/unit/mailbox/callbacks_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/mailbox/callbacks_test.rb b/test/unit/mailbox/callbacks_test.rb
index 4cafeb3534..b6cfef9868 100644
--- a/test/unit/mailbox/callbacks_test.rb
+++ b/test/unit/mailbox/callbacks_test.rb
@@ -1,6 +1,6 @@
require_relative '../../test_helper'
-class CallbackMailbox < ActionMailroom::Mailbox
+class CallbackMailbox < ActionMailbox::Base
before_processing { $before_processing = "Ran that!" }
after_processing { $after_processing = "Ran that too!" }
around_processing ->(r, block) { block.call; $around_processing = "Ran that as well!" }
@@ -10,7 +10,7 @@ class CallbackMailbox < ActionMailroom::Mailbox
end
end
-class ActionMailroom::Mailbox::CallbacksTest < ActiveSupport::TestCase
+class ActionMailbox::Base::CallbacksTest < ActiveSupport::TestCase
setup do
$before_processing = $after_processing = $around_processing = $processed = false
@inbound_email = create_inbound_email_from_fixture("welcome.eml")