Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

limited tests to the one I know

  • Loading branch information...
commit b3d92131b397ed809ae2d2f5d1172ff3c38c8065 1 parent 7930af6
Sébastien Drouyer sdrdis authored
Showing with 19 additions and 1 deletion.
  1. +19 −1 test/common_test.js
20 test/common_test.js
View
@@ -450,7 +450,13 @@ function testOrm(schema) {
});
- if (schema.name !== 'mongodb')
+ if (
+ !schema.name.match(/redis/) &&
+ schema.name !== 'memory' &&
+ schema.name !== 'neo4j' &&
+ schema.name !== 'cradle' &&
+ schema.name !== 'mongodb'
+ )
it('hasMany should support additional conditions', function (test) {
// Finding one post with an existing author associated
@@ -473,6 +479,12 @@ function testOrm(schema) {
});
+ if (
+ !schema.name.match(/redis/) &&
+ schema.name !== 'memory' &&
+ schema.name !== 'neo4j' &&
+ schema.name !== 'cradle'
+ )
it('hasMany should be cached', function (test) {
// Finding one post with an existing author associated
Post.all(function (err, posts) {
@@ -975,6 +987,12 @@ function testOrm(schema) {
});
});
+ if (
+ !schema.name.match(/redis/) &&
+ schema.name !== 'memory' &&
+ schema.name !== 'neo4j' &&
+ schema.name !== 'cradle'
+ )
it('belongsTo should be cached', function (test) {
User.findOne(function(err, user) {
Please sign in to comment.
Something went wrong with that request. Please try again.