Fix hang in app.auth.test.js and enable running on make check
Closes #38 (yay!)
This commit is contained in:
parent
192bc736ca
commit
8fb65874f0
@ -17,7 +17,8 @@ test('valid api key should allow insert in protected tables', function(done){
|
|||||||
method: 'GET'
|
method: 'GET'
|
||||||
},{}, function(res) {
|
},{}, function(res) {
|
||||||
assert.equal(res.statusCode, 200, res.body);
|
assert.equal(res.statusCode, 200, res.body);
|
||||||
}, function() { done(); });
|
done();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
test('invalid api key should NOT allow insert in protected tables', function(done){
|
test('invalid api key should NOT allow insert in protected tables', function(done){
|
||||||
|
@ -38,9 +38,8 @@ mocha -u tdd \
|
|||||||
test/unit/metadata.test.js \
|
test/unit/metadata.test.js \
|
||||||
test/unit/oauth.test.js \
|
test/unit/oauth.test.js \
|
||||||
test/unit/psql.test.js \
|
test/unit/psql.test.js \
|
||||||
test/acceptance/app.test.js
|
test/acceptance/app.test.js \
|
||||||
|
test/acceptance/app.auth.test.js
|
||||||
#mocha -u tdd test/acceptance/app.auth.test.js # hangs
|
|
||||||
|
|
||||||
|
|
||||||
cleanup
|
cleanup
|
||||||
|
Loading…
Reference in New Issue
Block a user