Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

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
 
PREVIOUS NEXT
Tagged: #expect #actionmailer #base #nullmail
ADD COMMENT
Topic
Name
4+7 =