Adjust test

This commit is contained in:
Anatoliy Chakkaev 2012-01-20 00:29:12 +04:00
parent 01955a9de5
commit f09bb40035
1 changed files with 1 additions and 1 deletions

View File

@ -426,7 +426,7 @@ function testOrm(schema) {
it('should handle ORDER clause', function (test) {
var titles = [ 'Title A', 'Title Z', 'Title M', 'Title B', 'Title C' ];
var isRedis = Post.schema.name === 'redis';
var isRedis = Post.schema.name === 'redis' || Post.schema.name === 'memory';
var dates = isRedis ? [ 5, 9, 0, 17, 9 ] : [
new Date(1000 * 5 ),
new Date(1000 * 9),