📅  最后修改于: 2022-03-11 15:04:49.945000             🧑  作者: Mango
let(:mail){ SomeMailer.your_mail }
it "is a NullMail" do
expect(mail.message).to be_kind_of(ActionMailer::Base::NullMail)
end