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

Commit 7749a9fb by Rui Marinho

Fix small typo on error message

1 parent 466016ee
Showing with 1 additions and 1 deletions
...@@ -99,7 +99,7 @@ describe(Support.getTestDialectTeaser('Model'), function() { ...@@ -99,7 +99,7 @@ describe(Support.getTestDialectTeaser('Model'), function() {
username: 'gottlieb' username: 'gottlieb'
} }
}).then(function () { }).then(function () {
throw new Error('I should have ben rejected'); throw new Error('I should have been rejected');
}, function (err) { }, function (err) {
expect(err instanceof Sequelize.UniqueConstraintError).to.be.ok; expect(err instanceof Sequelize.UniqueConstraintError).to.be.ok;
expect(err.fields).to.be.ok; expect(err.fields).to.be.ok;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!