Answers for "expect actionmailer base nullmail"

0

expect actionmailer base nullmail

let(:mail){ SomeMailer.your_mail }

it "is a NullMail" do
  expect(mail.message).to be_kind_of(ActionMailer::Base::NullMail)
end
Posted by: Guest on January-19-2021

Browse Popular Code Answers by Language