Merge pull request #4082 from strongloop/fix/windows-ci
Fix CI build errors on Windows
This commit is contained in:
commit
e513019ed5
|
@ -1501,7 +1501,7 @@ describe('User', function() {
|
||||||
from: 'noreply@myapp.org',
|
from: 'noreply@myapp.org',
|
||||||
redirect: '/',
|
redirect: '/',
|
||||||
protocol: ctx.req.protocol,
|
protocol: ctx.req.protocol,
|
||||||
host: ctx.req.get('host'),
|
host: 'lb.io', // use a short hostname to avoid a line break
|
||||||
generateVerificationToken: function(user, cb) {
|
generateVerificationToken: function(user, cb) {
|
||||||
assert(user);
|
assert(user);
|
||||||
assert.equal(user.email, 'bar@bat.com');
|
assert.equal(user.email, 'bar@bat.com');
|
||||||
|
@ -1520,7 +1520,7 @@ describe('User', function() {
|
||||||
assert(result.token);
|
assert(result.token);
|
||||||
assert.equal(result.token, 'token-123456');
|
assert.equal(result.token, 'token-123456');
|
||||||
var msg = result.email.response.toString('utf-8');
|
var msg = result.email.response.toString('utf-8');
|
||||||
assert(~msg.indexOf('token-123456'));
|
expect(msg).to.contain('token-123456');
|
||||||
|
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue