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

Commit f1ce9960 by Manuel Martinez

Fix style issues

1 parent d1b370e4
Showing with 7 additions and 7 deletions
...@@ -2563,11 +2563,10 @@ describe(Support.getTestDialectTeaser('Model'), function() { ...@@ -2563,11 +2563,10 @@ describe(Support.getTestDialectTeaser('Model'), function() {
}); });
it('should return array of errors if validate and individualHooks are true in bulkCreate', function() { it('should return array of errors if validate and individualHooks are true in bulkCreate', function() {
var self = this var self = this
, data = [{ username: null }, , data = [{ username: null },
{ username: null }, { username: null },
{ username: null }]; { username: null }];
var user = this.sequelize.define('Users', { var user = this.sequelize.define('Users', {
username: { username: {
...@@ -2581,10 +2580,10 @@ describe(Support.getTestDialectTeaser('Model'), function() { ...@@ -2581,10 +2580,10 @@ describe(Support.getTestDialectTeaser('Model'), function() {
}); });
user.bulkCreate(data, { user.bulkCreate(data, {
validate: true, validate: true,
individualHooks: true individualHooks: true
}) })
.catch(function(errors) { .catch(function(errors) {
expect(errors).to.be.instanceof(Array); expect(errors).to.be.instanceof(Array);
}); });
}); });
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!