mirror of
https://github.com/knex/knex.git
synced 2025-09-17 12:13:53 +00:00
18 lines
333 B
JavaScript
18 lines
333 B
JavaScript
module.exports = function(knex) {
|
|
|
|
describe('Updates', function () {
|
|
|
|
it('should handle updates', function() {
|
|
return knex('accounts')
|
|
.logMe()
|
|
.where('id', 1)
|
|
.update({
|
|
first_name: 'User',
|
|
last_name: 'Test',
|
|
email:'test100@example.com'
|
|
});
|
|
});
|
|
|
|
});
|
|
|
|
}; |