Skip to content

Commit 90ab51b

Browse files
authored
Merge pull request rails#52814 from wonda-tea-coffee/fix-deliver-now-callback-test
Use `deliver_now!` instead of `deliver_now`
2 parents 734b7f4 + 83d8896 commit 90ab51b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actionmailer/test/callbacks_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class ActionMailerCallbacksTest < ActiveSupport::TestCase
3939
end
4040

4141
test "deliver_now! should call after_deliver callback" do
42-
CallbackMailer.test_message.deliver_now
42+
CallbackMailer.test_message.deliver_now!
4343

4444
assert_kind_of CallbackMailer, CallbackMailer.after_deliver_instance
4545
end

0 commit comments

Comments
 (0)