Merge pull request #71 from strongloop/feature/run-hook-tests

Include tests of persistence hooks from juggler.
This commit is contained in:
Miroslav Bajtoš 2015-02-02 19:31:25 +01:00
commit 6988e1bdea
2 changed files with 5 additions and 1 deletions

View File

@ -13,7 +13,7 @@
"debug": "~2.0.0" "debug": "~2.0.0"
}, },
"devDependencies": { "devDependencies": {
"loopback-datasource-juggler": "1.x.x", "loopback-datasource-juggler": "^2.15.0",
"should": "~1.3.0", "should": "~1.3.0",
"mocha": "~1.20.1", "mocha": "~1.20.1",
"rc": "~0.4.0" "rc": "~0.4.0"

View File

@ -0,0 +1,4 @@
var should = require('./init');
var suite = require('loopback-datasource-juggler/test/persistence-hooks.suite.js');
suite(global.getDataSource(), should);