1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

Fix email test for i18n

This commit is contained in:
Nick O'Leary 2015-07-22 12:36:19 +01:00
parent 3e4cb4ea1d
commit ae469e8a72

View File

@ -94,7 +94,7 @@ describe('email Node', function() {
//console.log(logEvents); //console.log(logEvents);
//logEvents.should.have.length(3); //logEvents.should.have.length(3);
logEvents[0][0].should.have.a.property('msg'); logEvents[0][0].should.have.a.property('msg');
logEvents[0][0].msg.toString().should.startWith("Error: connect ECONNREFUSED"); logEvents[0][0].msg.toString().should.startWith("email.errors.nouserid");
done(); done();
} }
catch(e) { done(e); } catch(e) { done(e); }