override collection name for arangodb (#1243)

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-20 14:01:16 +01:00 committed by Sakib Hasan
parent 55128f0c9b
commit 1f52d23d67
1 changed files with 3 additions and 0 deletions

View File

@ -81,6 +81,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'},
});
@ -90,6 +91,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'},
});
@ -114,6 +116,7 @@ describe('default scope', function() {
base: 'Product',
attributes: propertiesFn,
scope: scopeFn,
arangodb: {collection: 'Product'},
mongodb: {collection: 'Product'},
memory: {collection: 'Product'},
});