Merge pull request #342 from strongloop/feature/refactor-relation
Upgrade to loopback-datasource-juggler 1.6
This commit is contained in:
commit
ebe65656e5
|
@ -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",
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue