Merge pull request #342 from strongloop/feature/refactor-relation

Upgrade to loopback-datasource-juggler 1.6
This commit is contained in:
Raymond Feng 2014-06-20 23:05:34 -07:00
commit ebe65656e5
2 changed files with 2 additions and 4 deletions

View File

@ -44,10 +44,10 @@
"async": "~0.9.0" "async": "~0.9.0"
}, },
"peerDependencies": { "peerDependencies": {
"loopback-datasource-juggler": ">=1.4.0 <1.6.0" "loopback-datasource-juggler": ">=1.4.0 <1.7.0"
}, },
"devDependencies": { "devDependencies": {
"loopback-datasource-juggler": ">=1.4.0 <1.6.0", "loopback-datasource-juggler": ">=1.4.0 <1.7.0",
"mocha": "~1.20.1", "mocha": "~1.20.1",
"strong-task-emitter": "0.0.x", "strong-task-emitter": "0.0.x",
"supertest": "~0.12.1", "supertest": "~0.12.1",

View File

@ -23,7 +23,6 @@ describe('DataSource', function() {
assert.isFunc(Color, 'destroyAll'); assert.isFunc(Color, 'destroyAll');
assert.isFunc(Color, 'count'); assert.isFunc(Color, 'count');
assert.isFunc(Color, 'include'); assert.isFunc(Color, 'include');
assert.isFunc(Color, 'relationNameFor');
assert.isFunc(Color, 'hasMany'); assert.isFunc(Color, 'hasMany');
assert.isFunc(Color, 'belongsTo'); assert.isFunc(Color, 'belongsTo');
assert.isFunc(Color, 'hasAndBelongsToMany'); assert.isFunc(Color, 'hasAndBelongsToMany');
@ -53,7 +52,6 @@ describe('DataSource', function() {
existsAndShared('destroyAll', false); existsAndShared('destroyAll', false);
existsAndShared('count', true); existsAndShared('count', true);
existsAndShared('include', false); existsAndShared('include', false);
existsAndShared('relationNameFor', false);
existsAndShared('hasMany', false); existsAndShared('hasMany', false);
existsAndShared('belongsTo', false); existsAndShared('belongsTo', false);
existsAndShared('hasAndBelongsToMany', false); existsAndShared('hasAndBelongsToMany', false);