We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ded3cfa commit 699f729Copy full SHA for 699f729
lib/rspec/rails/matchers/have_enqueued_mail.rb
@@ -7,6 +7,7 @@
7
module RSpec
8
module Rails
9
module Matchers
10
+ # rubocop: disable Metrics/ClassLength
11
# Matcher class for `have_enqueued_mail`. Should not be instantiated directly.
12
#
13
# @private
@@ -153,6 +154,8 @@ def unified_mail?(job)
153
154
RSpec::Rails::FeatureCheck.has_action_mailer_unified_delivery? && job[:job] <= ActionMailer::MailDeliveryJob
155
end
156
157
+ # rubocop: enable Metrics/ClassLength
158
+
159
# @api public
160
# Passes if an email has been enqueued inside block.
161
# May chain with to specify expected arguments.
0 commit comments