{"action":"created","comment":{"url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/pulls/comments/50637570","id":50637570,"diff_hunk":"@@ -146,6 +148,30 @@ test('store.reset creates empty instance of store with new options', function (t\n   .catch(t.fail)\n })\n \n+test('store.reset creates empty instance of store with new options passed as arguments', function (t) {\n+  t.plan(1)\n+\n+  var CustomPouchDB = PouchDB.defaults({remote: 'test-db-clear-arguments-remote'})","path":"tests/specs/api.js","position":15,"original_position":15,"commit_id":"b51fa2ebd15e1d4a8867debd28a6ed51ef8f4971","original_commit_id":"b51fa2ebd15e1d4a8867debd28a6ed51ef8f4971","user":{"login":"gr2m","id":39992,"avatar_url":"https://avatars.githubusercontent.com/u/39992?v=3","gravatar_id":"","url":"https://api.github.com/users/gr2m","html_url":"https://github.com/gr2m","followers_url":"https://api.github.com/users/gr2m/followers","following_url":"https://api.github.com/users/gr2m/following{/other_user}","gists_url":"https://api.github.com/users/gr2m/gists{/gist_id}","starred_url":"https://api.github.com/users/gr2m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gr2m/subscriptions","organizations_url":"https://api.github.com/users/gr2m/orgs","repos_url":"https://api.github.com/users/gr2m/repos","events_url":"https://api.github.com/users/gr2m/events{/privacy}","received_events_url":"https://api.github.com/users/gr2m/received_events","type":"User","site_admin":false},"body":"please use memory as backend. It’s a bit complicated, because different code is needed for browser / node. You can do this\r\n\r\n```js\r\n  var options = process.browser ? {\r\n    adapter: 'memory'\r\n  } : {\r\n    db: require('memdown')\r\n  }\r\n  var CustomPouchDB = PouchDB.defaults(options)\r\n```\r\n\r\nThe `remote: 'test-db-clear-arguments-remote'` option doesn’t do anything here","created_at":"2016-01-24T16:14:08Z","updated_at":"2016-01-24T16:14:08Z","html_url":"https://github.com/hoodiehq/hoodie-client-store/pull/76#discussion_r50637570","pull_request_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/pulls/76","_links":{"self":{"href":"https://api.github.com/repos/hoodiehq/hoodie-client-store/pulls/comments/50637570"},"html":{"href":"https://github.com/hoodiehq/hoodie-client-store/pull/76#discussion_r50637570"},"pull_request":{"href":"https://api.github.com/repos/hoodiehq/hoodie-client-store/pulls/76"}}},"pull_request":{"url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/pulls/76","id":57002820,"html_url":"https://github.com/hoodiehq/hoodie-client-store/pull/76","diff_url":"https://github.com/hoodiehq/hoodie-client-store/pull/76.diff","patch_url":"https://github.com/hoodiehq/hoodie-client-store/pull/76.patch","issue_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/issues/76","number":76,"state":"open","locked":false,"title":"Bring code coverage to 100%","user":{"login":"coderbyheart","id":188915,"avatar_url":"https://avatars.githubusercontent.com/u/188915?v=3","gravatar_id":"","url":"https://api.github.com/users/coderbyheart","html_url":"https://github.com/coderbyheart","followers_url":"https://api.github.com/users/coderbyheart/followers","following_url":"https://api.github.com/users/coderbyheart/following{/other_user}","gists_url":"https://api.github.com/users/coderbyheart/gists{/gist_id}","starred_url":"https://api.github.com/users/coderbyheart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coderbyheart/subscriptions","organizations_url":"https://api.github.com/users/coderbyheart/orgs","repos_url":"https://api.github.com/users/coderbyheart/repos","events_url":"https://api.github.com/users/coderbyheart/events{/privacy}","received_events_url":"https://api.github.com/users/coderbyheart/received_events","type":"User","site_admin":false},"body":"closes #72 ","created_at":"2016-01-24T13:08:34Z","updated_at":"2016-01-24T16:14:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee47ea8dd60596cae199b1b82774465c754a6117","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/pulls/76/commits","review_comments_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/pulls/76/comments","review_comment_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/issues/76/comments","statuses_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/statuses/b51fa2ebd15e1d4a8867debd28a6ed51ef8f4971","head":{"label":"coderbyheart:improve-code-coverage","ref":"improve-code-coverage","sha":"b51fa2ebd15e1d4a8867debd28a6ed51ef8f4971","user":{"login":"coderbyheart","id":188915,"avatar_url":"https://avatars.githubusercontent.com/u/188915?v=3","gravatar_id":"","url":"https://api.github.com/users/coderbyheart","html_url":"https://github.com/coderbyheart","followers_url":"https://api.github.com/users/coderbyheart/followers","following_url":"https://api.github.com/users/coderbyheart/following{/other_user}","gists_url":"https://api.github.com/users/coderbyheart/gists{/gist_id}","starred_url":"https://api.github.com/users/coderbyheart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coderbyheart/subscriptions","organizations_url":"https://api.github.com/users/coderbyheart/orgs","repos_url":"https://api.github.com/users/coderbyheart/repos","events_url":"https://api.github.com/users/coderbyheart/events{/privacy}","received_events_url":"https://api.github.com/users/coderbyheart/received_events","type":"User","site_admin":false},"repo":{"id":50282255,"name":"hoodie-client-store","full_name":"coderbyheart/hoodie-client-store","owner":{"login":"coderbyheart","id":188915,"avatar_url":"https://avatars.githubusercontent.com/u/188915?v=3","gravatar_id":"","url":"https://api.github.com/users/coderbyheart","html_url":"https://github.com/coderbyheart","followers_url":"https://api.github.com/users/coderbyheart/followers","following_url":"https://api.github.com/users/coderbyheart/following{/other_user}","gists_url":"https://api.github.com/users/coderbyheart/gists{/gist_id}","starred_url":"https://api.github.com/users/coderbyheart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coderbyheart/subscriptions","organizations_url":"https://api.github.com/users/coderbyheart/orgs","repos_url":"https://api.github.com/users/coderbyheart/repos","events_url":"https://api.github.com/users/coderbyheart/events{/privacy}","received_events_url":"https://api.github.com/users/coderbyheart/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/coderbyheart/hoodie-client-store","description":"Hoodie-like Store & Sync API on top of PouchDB","fork":true,"url":"https://api.github.com/repos/coderbyheart/hoodie-client-store","forks_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/forks","keys_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/teams","hooks_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/hooks","issue_events_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/issues/events{/number}","events_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/events","assignees_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/assignees{/user}","branches_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/branches{/branch}","tags_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/tags","blobs_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/git/refs{/sha}","trees_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/statuses/{sha}","languages_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/languages","stargazers_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/stargazers","contributors_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/contributors","subscribers_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/subscribers","subscription_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/subscription","commits_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/commits{/sha}","git_commits_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/git/commits{/sha}","comments_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/comments{/number}","issue_comment_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/issues/comments{/number}","contents_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/contents/{+path}","compare_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/merges","archive_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/downloads","issues_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/issues{/number}","pulls_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/pulls{/number}","milestones_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/milestones{/number}","notifications_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/labels{/name}","releases_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/releases{/id}","deployments_url":"https://api.github.com/repos/coderbyheart/hoodie-client-store/deployments","created_at":"2016-01-24T10:16:12Z","updated_at":"2016-01-24T10:16:13Z","pushed_at":"2016-01-24T15:53:41Z","git_url":"git://github.com/coderbyheart/hoodie-client-store.git","ssh_url":"git@github.com:coderbyheart/hoodie-client-store.git","clone_url":"https://github.com/coderbyheart/hoodie-client-store.git","svn_url":"https://github.com/coderbyheart/hoodie-client-store","homepage":null,"size":91,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hoodiehq:master","ref":"master","sha":"cba36f3c8cbd524326f1f3feb35023f900d2f03f","user":{"login":"hoodiehq","id":1888826,"avatar_url":"https://avatars.githubusercontent.com/u/1888826?v=3","gravatar_id":"","url":"https://api.github.com/users/hoodiehq","html_url":"https://github.com/hoodiehq","followers_url":"https://api.github.com/users/hoodiehq/followers","following_url":"https://api.github.com/users/hoodiehq/following{/other_user}","gists_url":"https://api.github.com/users/hoodiehq/gists{/gist_id}","starred_url":"https://api.github.com/users/hoodiehq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoodiehq/subscriptions","organizations_url":"https://api.github.com/users/hoodiehq/orgs","repos_url":"https://api.github.com/users/hoodiehq/repos","events_url":"https://api.github.com/users/hoodiehq/events{/privacy}","received_events_url":"https://api.github.com/users/hoodiehq/received_events","type":"Organization","site_admin":false},"repo":{"id":36420691,"name":"hoodie-client-store","full_name":"hoodiehq/hoodie-client-store","owner":{"login":"hoodiehq","id":1888826,"avatar_url":"https://avatars.githubusercontent.com/u/1888826?v=3","gravatar_id":"","url":"https://api.github.com/users/hoodiehq","html_url":"https://github.com/hoodiehq","followers_url":"https://api.github.com/users/hoodiehq/followers","following_url":"https://api.github.com/users/hoodiehq/following{/other_user}","gists_url":"https://api.github.com/users/hoodiehq/gists{/gist_id}","starred_url":"https://api.github.com/users/hoodiehq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoodiehq/subscriptions","organizations_url":"https://api.github.com/users/hoodiehq/orgs","repos_url":"https://api.github.com/users/hoodiehq/repos","events_url":"https://api.github.com/users/hoodiehq/events{/privacy}","received_events_url":"https://api.github.com/users/hoodiehq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hoodiehq/hoodie-client-store","description":"Hoodie-like Store & Sync API on top of PouchDB","fork":false,"url":"https://api.github.com/repos/hoodiehq/hoodie-client-store","forks_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/forks","keys_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/teams","hooks_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/hooks","issue_events_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/issues/events{/number}","events_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/events","assignees_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/assignees{/user}","branches_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/branches{/branch}","tags_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/tags","blobs_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/git/refs{/sha}","trees_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/statuses/{sha}","languages_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/languages","stargazers_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/stargazers","contributors_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/contributors","subscribers_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/subscribers","subscription_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/subscription","commits_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/commits{/sha}","git_commits_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/git/commits{/sha}","comments_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/comments{/number}","issue_comment_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/issues/comments{/number}","contents_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/contents/{+path}","compare_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/merges","archive_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/downloads","issues_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/issues{/number}","pulls_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/pulls{/number}","milestones_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/milestones{/number}","notifications_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/labels{/name}","releases_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/releases{/id}","deployments_url":"https://api.github.com/repos/hoodiehq/hoodie-client-store/deployments","created_at":"2015-05-28T07:01:51Z","updated_at":"2016-01-18T13:08:19Z","pushed_at":"2016-01-24T15:53:41Z","git_url":"git://github.com/hoodiehq/hoodie-client-store.git","ssh_url":"git@github.com:hoodiehq/hoodie-client-store.git","clone_url":"https://github.com/hoodiehq/hoodie-client-store.git","svn_url":"https://github.com/hoodiehq/hoodie-client-store","homepage":null,"size":97,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":7,"forks":7,"open_issues":7,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hoodiehq/hoodie-client-store/pulls/76"},"html":{"href":"https://github.com/hoodiehq/hoodie-client-store/pull/76"},"issue":{"href":"https://api.github.com/repos/hoodiehq/hoodie-client-store/issues/76"},"comments":{"href":"https://api.github.com/repos/hoodiehq/hoodie-client-store/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/hoodiehq/hoodie-client-store/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/hoodiehq/hoodie-client-store/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hoodiehq/hoodie-client-store/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/hoodiehq/hoodie-client-store/statuses/b51fa2ebd15e1d4a8867debd28a6ed51ef8f4971"}}}}