{"action":"opened","issue":{"url":"https://api.github.com/repos/powmedia/pow-mongodb-fixtures/issues/19","labels_url":"https://api.github.com/repos/powmedia/pow-mongodb-fixtures/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/powmedia/pow-mongodb-fixtures/issues/19/comments","events_url":"https://api.github.com/repos/powmedia/pow-mongodb-fixtures/issues/19/events","html_url":"https://github.com/powmedia/pow-mongodb-fixtures/issues/19","id":64347392,"number":19,"title":"TypeError: Object [object Object] has no method 'collectionNames'","user":{"login":"bitliner","id":1301838,"avatar_url":"https://avatars.githubusercontent.com/u/1301838?v=3","gravatar_id":"","url":"https://api.github.com/users/bitliner","html_url":"https://github.com/bitliner","followers_url":"https://api.github.com/users/bitliner/followers","following_url":"https://api.github.com/users/bitliner/following{/other_user}","gists_url":"https://api.github.com/users/bitliner/gists{/gist_id}","starred_url":"https://api.github.com/users/bitliner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitliner/subscriptions","organizations_url":"https://api.github.com/users/bitliner/orgs","repos_url":"https://api.github.com/users/bitliner/repos","events_url":"https://api.github.com/users/bitliner/events{/privacy}","received_events_url":"https://api.github.com/users/bitliner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-25T18:58:55Z","updated_at":"2015-03-25T18:58:55Z","closed_at":null,"body":"It throws the following error:\r\n\r\n```\r\nTypeError: Object [object Object] has no method 'collectionNames'\r\n    at getCollectionNames (/home/---/wonderflow/wonderboard/backend/de-en-review-translator/node_modules/pow-mongodb-fixtures/src/index.js:156:28)\r\n    at /home/---/wonderflow/wonderboard/backend/de-en-review-translator/node_modules/pow-mongodb-fixtures/node_modules/async/lib/async.js:494:21\r\n    at /home/---/wonderflow/wonderboard/backend/de-en-review-translator/node_modules/pow-mongodb-fixtures/node_modules/async/lib/async.js:194:13\r\n    at iterate (/home/---/wonderflow/wonderboard/backend/de-en-review-translator/node_modules/pow-mongodb-fixtures/node_modules/async/lib/async.js:118:13)\r\n    at /home/---/wonderflow/wonderboard/backend/de-en-review-translator/node_modules/pow-mongodb-fixtures/node_modules/async/lib/async.js:129:25\r\n    at /home/---/wonderflow/wonderboard/backend/de-en-review-translator/node_modules/pow-mongodb-fixtures/node_modules/async/lib/async.js:196:17\r\n    at /home/---/wonderflow/wonderboard/backend/de-en-review-translator/node_modules/pow-mongodb-fixtures/node_modules/async/lib/async.js:499:34\r\n    at /home/---/wonderflow/wonderboard/backend/de-en-review-translator/node_modules/pow-mongodb-fixtures/src/index.js:146:17\r\n    at /home/---/wonderflow/wonderboard/backend/de-en-review-translator/node_modules/pow-mongodb-fixtures/src/index.js:287:35\r\n    at /home/---/wonderflow/wonderboard/backend/de-en-review-translator/node_modules/pow-mongodb-fixtures/node_modules/mongodb/lib/db.js:200:5\r\n\r\n```\r\n\r\nThe program is the following:\r\n\r\n```\r\nvar fixtures2 = require('pow-mongodb-fixtures').connect('test', {\r\n  host: 'localhost',\r\n  port: 27017,\r\n/*  user:'test',\r\n  pass:'test'\r\n*/\r\n});\r\n\r\nfixtures2.clearAllAndLoad(require('./test/data/data.js'), function(err){\r\n        console.log(err);\r\n})\r\n\r\n\r\n\r\n```"}}