override collection name for arangodb (#1274)

Add collection name settings for arangodb database.
Required to pass common tests included in community connector
This commit is contained in:
Matteo Padovano 2017-03-25 23:22:59 +01:00 committed by Sakib Hasan
parent e9baea77e0
commit 570da781b8
1 changed files with 3 additions and 0 deletions

View File

@ -79,6 +79,7 @@ describe('default scope', function() {
base: 'Product',
scope: {where: {kind: 'Tool'}, order: 'name'},
scopes: {active: {where: {active: true}}},
arangodb: {collection: 'Product'},
mongodb: {collection: 'Product'},
memory: {collection: 'Product'},
});
@ -88,6 +89,7 @@ describe('default scope', function() {
properties: {kind: 'Widget'},
scope: {where: {kind: 'Widget'}, order: 'name'},
scopes: {active: {where: {active: true}}},
arangodb: {collection: 'Product'},
mongodb: {collection: 'Product'},
memory: {collection: 'Product'},
});
@ -111,6 +113,7 @@ describe('default scope', function() {
base: 'Product',
attributes: propertiesFn,
scope: scopeFn,
arangodb: {collection: 'Product'},
mongodb: {collection: 'Product'},
memory: {collection: 'Product'},
});