Allow endpoint to be configured (for the tests)

This commit is contained in:
Girish Ramakrishnan
2015-10-27 09:53:32 -07:00
parent d502e04cbd
commit 166257bbdc
2 changed files with 3 additions and 2 deletions

View File

@@ -265,7 +265,7 @@ describe('Settings API', function () {
.query({ access_token: token })
.end(function (err, res) {
expect(res.statusCode).to.equal(200);
expect(res.body).to.eql({ provider: 'route53', accessKeyId: 'accessKey', secretAccessKey: 'secretAccessKey', region: 'us-east-1' });
expect(res.body).to.eql({ provider: 'route53', accessKeyId: 'accessKey', secretAccessKey: 'secretAccessKey', region: 'us-east-1', endpoint: null });
done(err);
});
});