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:
parent
1e6f4ba340
commit
9886e21cb2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue