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

Commit 4177188f by Sohum Banerjea

removing the test for one generated sql statement at @mickhansen's request

1 parent ece8f52d
Showing with 1 additions and 2 deletions
......@@ -361,9 +361,8 @@ describe(Support.getTestDialectTeaser("HasMany"), function() {
Article.sync({ force: true }).success(function() {
Label.sync({ force: true }).success(function() {
Article.create({ title: 'foo' }).success(function(article) {
article.createLabel({ text: 'bar' }).on('sql', spy).complete(function(err, label) {
article.createLabel({ text: 'bar' }).complete(function(err, label) {
expect(err).to.not.be.ok
expect(spy.calledOnce).to.be.true
expect(label.ArticleId).to.equal(article.id)
done()
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!