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 9792fc8 commit da95e4bCopy full SHA for da95e4b
lib/rspec/rails/matchers/send_email.rb
@@ -1,3 +1,5 @@
1
+# frozen_string_literal: true
2
+
3
module RSpec
4
module Rails
5
module Matchers
@@ -7,7 +9,7 @@ module Matchers
7
9
#
8
10
# @see RSpec::Rails::Matchers#send_email
11
class SendEmail < RSpec::Rails::Matchers::BaseMatcher
- INSPECT_EMAIL_ATTRIBUTES = %i[subject from to cc bcc]
12
+ INSPECT_EMAIL_ATTRIBUTES = %i[subject from to cc bcc].freeze
13
14
def initialize(criteria)
15
@criteria = criteria
spec/rspec/rails/matchers/send_email_spec.rb
RSpec.describe "send_email" do
it "checks email sending by all params together" do
expect {
0 commit comments