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

Commit 8d9b79e7 by Sascha Depold

fix

1 parent 26ef550e
Showing with 2 additions and 2 deletions
...@@ -10,7 +10,7 @@ module.exports = { ...@@ -10,7 +10,7 @@ module.exports = {
Foo.hasMany('bars', Bar, 'foos') Foo.hasMany('bars', Bar, 'foos')
Sequelize.chainQueries([{drop: s}, {sync: s}], function() { Sequelize.chainQueries([{drop: s}, {sync: s}], function() {
new Foo({name:'asd'}).save(function() { new Foo({name:'asd'}).save(function(foo) {
assert.eql(foo.fetchedAssociations, {}) assert.eql(foo.fetchedAssociations, {})
allowExit = true allowExit = true
}) })
...@@ -24,7 +24,7 @@ module.exports = { ...@@ -24,7 +24,7 @@ module.exports = {
Foo.hasMany('bars', Bar, 'foos') Foo.hasMany('bars', Bar, 'foos')
Sequelize.chainQueries([{drop: s}, {sync: s}], function() { Sequelize.chainQueries([{drop: s}, {sync: s}], function() {
new Foo({name:'asd'}).save(function() { new Foo({name:'asd'}).save(function(foo) {
foo.fetchAssociations(function() { foo.fetchAssociations(function() {
assert.eql(foo.fetchedAssociations, {bars: []}) assert.eql(foo.fetchedAssociations, {bars: []})
allowExit = true allowExit = true
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!