0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Loosened equality check for error message in GhostMailer test

This commit is contained in:
Kevin Ansfield 2019-03-22 13:36:44 +00:00
parent 1e6f4ba340
commit 9886e21cb2

View file

@ -146,7 +146,7 @@ describe('Mail: Ghostmailer', function () {
mailer.send(mailDataNoServer).then(function () {
done(new Error('Error message not shown.'));
}, function (error) {
error.message.should.eql('Failed to send email.');
error.message.should.startWith('Failed to send email.');
done();
}).catch(done);
});