mirror of https://github.com/rails/rails
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:
parent
734b7f4a64
commit
83d8896ed9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue