Skip to content

Commit 21286f1

Browse files
author
Joel Lubrano
committed
Ignore Rubocop class length for HaveEnqueuedMail class
1 parent d4dbf1d commit 21286f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/rspec/rails/matchers/have_enqueued_mail.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ module Rails
66
module Matchers
77
# Matcher class for `have_enqueued_mail`. Should not be instantiated directly.
88
#
9+
# rubocop: disable Style/ClassLength
910
# @private
1011
# @see RSpec::Rails::Matchers#have_enqueued_mail
1112
class HaveEnqueuedMail < RSpec::Matchers::BuiltIn::BaseMatcher
@@ -160,6 +161,7 @@ def mail_job_message(job)
160161
"#{mailer_method} #{msg_parts.join(', ')}".strip
161162
end
162163
end
164+
# rubocop: enable Style/ClassLength
163165

164166
# @api public
165167
# Passes if an email has been enqueued inside block.

0 commit comments

Comments
 (0)