📜  期望 actionmailer base nullmail - Ruby 代码示例

📅  最后修改于: 2022-03-11 15:04:49.945000             🧑  作者: Mango

代码示例1
let(:mail){ SomeMailer.your_mail }

it "is a NullMail" do
  expect(mail.message).to be_kind_of(ActionMailer::Base::NullMail)
end