minor cleanup

This commit is contained in:
Tim Griesser 2013-09-13 10:24:39 -04:00
parent 1a47485d33
commit 6cfa41a69f
3 changed files with 3 additions and 4 deletions

View File

@ -22,8 +22,7 @@ exports.Client = ServerBase.extend({
dialect: 'postgresql', dialect: 'postgresql',
initialize: function() { initialize: function() {},
},
runQuery: function(connection, sql, bindings) { runQuery: function(connection, sql, bindings) {
return nodefn.call(connection.query.bind(connection), sql, bindings); return nodefn.call(connection.query.bind(connection), sql, bindings);

View File

@ -2,7 +2,7 @@ module.exports = function(knex) {
describe('deletes', function () { describe('deletes', function () {
it('should delete an item', function(ok) { it('should delete an item', function() {
return knex('accounts') return knex('accounts')
.where({'email':'test2@example.com'}) .where({'email':'test2@example.com'})

View File

@ -2,7 +2,7 @@ module.exports = function(knex) {
describe('Updates', function () { describe('Updates', function () {
it('should handle updates', function(ok) { it('should handle updates', function() {
return knex('accounts') return knex('accounts')
.logMe() .logMe()
.where('id', 1) .where('id', 1)