Fix hang in app.auth.test.js and enable running on make check

Closes #38 (yay!)
This commit is contained in:
Sandro Santilli 2012-07-16 13:41:44 +02:00
parent 192bc736ca
commit 8fb65874f0
2 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,8 @@ test('valid api key should allow insert in protected tables', function(done){
method: 'GET'
},{}, function(res) {
assert.equal(res.statusCode, 200, res.body);
}, function() { done(); });
done();
});
});
test('invalid api key should NOT allow insert in protected tables', function(done){

View File

@ -38,9 +38,8 @@ mocha -u tdd \
test/unit/metadata.test.js \
test/unit/oauth.test.js \
test/unit/psql.test.js \
test/acceptance/app.test.js
#mocha -u tdd test/acceptance/app.auth.test.js # hangs
test/acceptance/app.test.js \
test/acceptance/app.auth.test.js
cleanup