limited tests to the one I know

This commit is contained in:
Sébastien Drouyer 2012-11-03 15:53:29 +01:00
parent 7930af6eba
commit b3d92131b3
1 changed files with 19 additions and 1 deletions

View File

@ -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) {