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

Commit b2b863f7 by Dannii Willis

Remove an aggregate test which failed in some databases and wasn't really necess…

…ary (order is not useful in count and so gets removed, but can be useful in some aggregate queries)
1 parent 1e6471ab
...@@ -68,10 +68,6 @@ describe(Support.getTestDialectTeaser('Model'), function() { ...@@ -68,10 +68,6 @@ describe(Support.getTestDialectTeaser('Model'), function() {
it('should be able to merge scopes with where', function () { it('should be able to merge scopes with where', function () {
return expect(this.ScopeMe.scope('lowAccess').aggregate( '*', 'count', { where: { username: 'dan'}})).to.eventually.equal(1); return expect(this.ScopeMe.scope('lowAccess').aggregate( '*', 'count', { where: { username: 'dan'}})).to.eventually.equal(1);
}); });
it('should ignore the order option if it is found within the scope', function () {
return expect(this.ScopeMe.scope('withOrder').aggregate( '*', 'count' )).to.eventually.equal(4);
});
}); });
}); });
}); });
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!