From 4856bc718dae8370453827046cd2aa925461fb96 Mon Sep 17 00:00:00 2001 From: Jimmy Date: Thu, 11 Mar 2021 22:00:15 -0800 Subject: [PATCH] [fix] Restore a mistakenly deleted test --- spec/mailers/mailbot_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/mailers/mailbot_spec.rb b/spec/mailers/mailbot_spec.rb index 22aade61..a1281e65 100644 --- a/spec/mailers/mailbot_spec.rb +++ b/spec/mailers/mailbot_spec.rb @@ -22,6 +22,10 @@ describe Mailbot do expect(mail.from).to eq ['conf@domain.com'] end + it 'assigns the email body' do + expect(mail.body).to include 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit' + end + it 'assigns the email body with the correct logo' do expect(mail.body).to include 'snapcon_logo' end