Use `deliver_now!` instead of `deliver_now`

The description of the test did not match the actual method of execution.
This commit is contained in:
Rikita Ishikawa 2024-09-06 17:14:09 +09:00
parent 734b7f4a64
commit 83d8896ed9
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class ActionMailerCallbacksTest < ActiveSupport::TestCase
end
test "deliver_now! should call after_deliver callback" do
CallbackMailer.test_message.deliver_now
CallbackMailer.test_message.deliver_now!
assert_kind_of CallbackMailer, CallbackMailer.after_deliver_instance
end