From f09bb40035d378d4c3501394a694a68c818eb19c Mon Sep 17 00:00:00 2001 From: Anatoliy Chakkaev Date: Fri, 20 Jan 2012 00:29:12 +0400 Subject: [PATCH] Adjust test --- test/common_test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/common_test.js b/test/common_test.js index 6c7ba68c..009bca59 100644 --- a/test/common_test.js +++ b/test/common_test.js @@ -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),