failing test for simple query with callback

This commit is contained in:
brianc 2011-02-28 22:59:54 -06:00
parent 3594ab5185
commit 128dbcb84c

View File

@ -0,0 +1,10 @@
var helper = require(__dirname + "/../test-helper");
var Client = require(__dirname + "/../../lib/native").Client;
var conString = helper.connectionString();
test('fires callback with results', function() {
var client = new Client(conString);
client.query('SELECT 1', assert.calls(function(result) {
}));
})