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

Commit 4fd57bf5 by Sascha Depold

Merge branch 'failing-test-for-find-all-with-include-problem' of git://github.co…

…m/gavri/sequelize into gavri-failing-test-for-find-all-with-include-problem
2 parents a2af5cb7 864d6642
Showing with 2 additions and 0 deletions
...@@ -426,6 +426,7 @@ describe("[" + dialect.toUpperCase() + "] DAOFactory", function() { ...@@ -426,6 +426,7 @@ describe("[" + dialect.toUpperCase() + "] DAOFactory", function() {
this.sequelize.sync({ force: true }).success(function() { this.sequelize.sync({ force: true }).success(function() {
this.User.create({ name: 'barfooz' }).success(function(user) { this.User.create({ name: 'barfooz' }).success(function(user) {
this.User.create({ name: 'another user' }).success(function(another_user) {
this.Task.create({ title: 'task' }).success(function(task) { this.Task.create({ title: 'task' }).success(function(task) {
user.setTask(task).success(function() { user.setTask(task).success(function() {
this.Task.find({ this.Task.find({
...@@ -439,6 +440,7 @@ describe("[" + dialect.toUpperCase() + "] DAOFactory", function() { ...@@ -439,6 +440,7 @@ describe("[" + dialect.toUpperCase() + "] DAOFactory", function() {
}.bind(this)) //- setTask }.bind(this)) //- setTask
}.bind(this)) //- Task.create }.bind(this)) //- Task.create
}.bind(this)) //- User.create }.bind(this)) //- User.create
}.bind(this)) //- User.create
}.bind(this)) //- sequelize.sync }.bind(this)) //- sequelize.sync
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!