VRFS-1430 fixed broken tests
This commit is contained in:
parent
7ab6d4d1fb
commit
f06ef0c716
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue