不要怂,就是干,撸起袖子干!

Commit 816d4eab by Sascha Depold

debugging for travis

1 parent 0f6bf4e6
Showing with 4 additions and 4 deletions
...@@ -11,8 +11,8 @@ module.exports = { ...@@ -11,8 +11,8 @@ module.exports = {
User.create({name: 'hallo', bio: 'welt'}).on('success', function(u) { User.create({name: 'hallo', bio: 'welt'}).on('success', function(u) {
assert.eql(u.equals(u), true) assert.eql(u.equals(u), true)
exit(function(){}) exit(function(){})
}).on('failure', function(err) { console.log(err) }) })
}).on('failure', function(err) { console.log(err) }) })
}, },
'it should correctly work with different primary keys': function(exit) { 'it should correctly work with different primary keys': function(exit) {
var User = sequelize.define('User' + config.rand(), { var User = sequelize.define('User' + config.rand(), {
...@@ -25,8 +25,8 @@ module.exports = { ...@@ -25,8 +25,8 @@ module.exports = {
User.create({foo: '1', bar: '2', name: 'hallo', bio: 'welt'}).on('success', function(u) { User.create({foo: '1', bar: '2', name: 'hallo', bio: 'welt'}).on('success', function(u) {
assert.eql(u.equals(u), true) assert.eql(u.equals(u), true)
exit(function(){}) exit(function(){})
}) }).on('failure', function(err) { console.log(err) })
}) }).on('failure', function(err) { console.log(err) })
}, },
'equalsOneOf should work': function(exit) { 'equalsOneOf should work': function(exit) {
var User = sequelize.define('User' + config.rand(), { var User = sequelize.define('User' + config.rand(), {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!