Disable advanced queries for redis and memory
This commit is contained in:
parent
fb79ca2bf8
commit
9434ff4169
|
@ -37,7 +37,7 @@ Object.keys(schemas).forEach(function (schemaName) {
|
||||||
context(schemaName, function () {
|
context(schemaName, function () {
|
||||||
var schema = new Schema(schemaName, schemas[schemaName]);
|
var schema = new Schema(schemaName, schemas[schemaName]);
|
||||||
schema.log = function (a) {
|
schema.log = function (a) {
|
||||||
console.log(a);
|
// console.log(a);
|
||||||
};
|
};
|
||||||
testOrm(schema);
|
testOrm(schema);
|
||||||
if (specificTest[schemaName]) specificTest[schemaName](schema);
|
if (specificTest[schemaName]) specificTest[schemaName](schema);
|
||||||
|
@ -527,6 +527,7 @@ function testOrm(schema) {
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (schema.name !== 'redis' && schema.name !== 'memory')
|
||||||
it('should allow advanced queying: lt, gt, lte, gte, between', function (test) {
|
it('should allow advanced queying: lt, gt, lte, gte, between', function (test) {
|
||||||
Post.destroyAll(function () {
|
Post.destroyAll(function () {
|
||||||
Post.create({date: new Date('Wed, 01 Feb 2012 13:56:12 GMT')}, done);
|
Post.create({date: new Date('Wed, 01 Feb 2012 13:56:12 GMT')}, done);
|
||||||
|
|
Loading…
Reference in New Issue