Skip to content

Commit 83d8896

Browse files
Use deliver_now! instead of deliver_now
The description of the test did not match the actual method of execution.
1 parent 734b7f4 commit 83d8896

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)