Skip to content

Commit ffd6e8e

Browse files
committed
Change log for #2305
1 parent bfbd3e0 commit ffd6e8e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Bug Fixes:
55

66
* Remove warning when calling `driven_by` in system specs. (Aubin Lorieux, #2302)
77
* Fix comparison of times for `#at` in job matchers. (Jon Rowe, Markus Doits, #2304)
8+
* Fix when using a mailer with `delivery_job` set to a sub class of `ActionMailer::DeliveryJob` (Atsushi Yoshida #2305)
89

910
### 4.0.0 / 2020-03-24
1011
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.9.1...v4.0.0)

spec/rspec/rails/matchers/have_enqueued_mail_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ def self.name; "NonMailerJob"; end
407407
)
408408
end
409409

410-
it "passes when using a mailer with `delivery_job` set to a sub class of `ActionMailer::Base`" do
410+
it "passes when using a mailer with `delivery_job` set to a sub class of `ActionMailer::DeliveryJob`" do
411411
expect {
412412
UnifiedMailerWithDeliveryJobSubClass.test_email.deliver_later
413413
}.to have_enqueued_mail(UnifiedMailerWithDeliveryJobSubClass, :test_email)

0 commit comments

Comments
 (0)