From 6cfa41a69fe94e57648414027df02df9cb702e51 Mon Sep 17 00:00:00 2001 From: Tim Griesser Date: Fri, 13 Sep 2013 10:24:39 -0400 Subject: [PATCH] minor cleanup --- clients/server/postgres.js | 3 +-- test/integration/builder/deletes.js | 2 +- test/integration/builder/updates.js | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/clients/server/postgres.js b/clients/server/postgres.js index e5725dc05..c979ae1bf 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 bc92e2200..259e4471a 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 67e4f5105..8887bf65e 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)