|
|
@ -333,7 +333,7 @@ describe('Controllers', function () {
|
|
|
|
}, function (err, res, body) {
|
|
|
|
}, function (err, res, body) {
|
|
|
|
assert.ifError(err);
|
|
|
|
assert.ifError(err);
|
|
|
|
assert.equal(res.statusCode, 200);
|
|
|
|
assert.equal(res.statusCode, 200);
|
|
|
|
assert.equal(body.referrer, nconf.get('relative_path') + '/register/complete');
|
|
|
|
assert.strictEqual(body.next, nconf.get('relative_path') + '/register/complete');
|
|
|
|
request(nconf.get('url') + '/api/register/complete', {
|
|
|
|
request(nconf.get('url') + '/api/register/complete', {
|
|
|
|
jar: jar,
|
|
|
|
jar: jar,
|
|
|
|
json: true,
|
|
|
|
json: true,
|
|
|
|