VRFS-1430 fixed broken tests

This commit is contained in:
Jonathan Kolyer 2014-10-08 03:48:05 +00:00
parent 7ab6d4d1fb
commit f06ef0c716
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ describe BatchMailer do
# it { BatchMailer.deliveries.length.should == 1 }
it { mail['from'].to_s.should == EmailBatch::DEFAULT_SENDER }
it { mail['from'].to_s.should == "JamKazam <support@jamkazam.com>" }
it { mail.subject.should == batch.subject }
it { mail.multipart?.should == true } # because we send plain + html

View File

@ -75,7 +75,7 @@ describe UserMailer do
# verify that the messages are correctly configured
it { mail.html_part.body.include?("Reset").should be_true }
it { mail.text_part.body.include?("Reset").should be_true }
it { mail.text_part.body.include?("change your JamKazam password").should be_true }
end
describe "should send change password confirmation" do