Add test for options being passed to MongoAdapter from DatabaseAdapter

This commit is contained in:
steven-supersolid
2016-03-11 17:08:39 +00:00
parent dbf2afc5ea
commit 6e65a8fc6f
3 changed files with 28 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ var defaultConfiguration = {
collectionPrefix: 'test_',
fileKey: 'test',
push: {
'ios': {
'ios': {
cert: 'prodCert.pem',
key: 'prodKey.pem',
production: true,
@@ -81,7 +81,7 @@ afterEach(function(done) {
Parse.User.logOut().then(() => {
return clearData();
}).then(() => {
DatabaseAdapter.clearDatabaseURIs();
DatabaseAdapter.clearDatabaseSettings();
done();
}, (error) => {
console.log('error in clearData', error);