diff --git a/clients/server/postgres.js b/clients/server/postgres.js index e5725dc0..c979ae1b 100644 --- a/clients/server/postgres.js +++ b/clients/server/postgres.js @@ -22,8 +22,7 @@ exports.Client = ServerBase.extend({ dialect: 'postgresql', - initialize: function() { - }, + initialize: function() {}, runQuery: function(connection, sql, bindings) { return nodefn.call(connection.query.bind(connection), sql, bindings); diff --git a/test/integration/builder/deletes.js b/test/integration/builder/deletes.js index bc92e220..259e4471 100644 --- a/test/integration/builder/deletes.js +++ b/test/integration/builder/deletes.js @@ -2,7 +2,7 @@ module.exports = function(knex) { describe('deletes', function () { - it('should delete an item', function(ok) { + it('should delete an item', function() { return knex('accounts') .where({'email':'test2@example.com'}) diff --git a/test/integration/builder/updates.js b/test/integration/builder/updates.js index 67e4f510..8887bf65 100644 --- a/test/integration/builder/updates.js +++ b/test/integration/builder/updates.js @@ -2,7 +2,7 @@ module.exports = function(knex) { describe('Updates', function () { - it('should handle updates', function(ok) { + it('should handle updates', function() { return knex('accounts') .logMe() .where('id', 1)