{"action":"created","comment":{"url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/comments/29502853","id":29502853,"diff_hunk":"@@ -0,0 +1,33 @@\n+// Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n+// use this file except in compliance with the License. You may obtain a copy of\n+// the License at\n+//\n+//   http://www.apache.org/licenses/LICENSE-2.0\n+//\n+// Unless required by applicable law or agreed to in writing, software\n+// distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n+// License for the specific language governing permissions and limitations under\n+// the License.\n+\n+define([\n+  'app',\n+  'api',\n+  'testUtils',\n+  'addons/verifyinstall/stores',\n+  'addons/verifyinstall/actiontypes'\n+], function (app, FauxtonAPI, testUtils, Stores, ActionTypes) {\n+\n+  var assert = testUtils.assert;\n+\n+  describe('Verify Install Actions', function () {\n+\n+    it('resets the store when action called', function () {\n+      var spy = sinon.spy(Stores.verifyInstallStore, 'reset');\n+      FauxtonAPI.dispatch({ type: ActionTypes.VERIFY_INSTALL_RESET });\n+      assert.ok(spy.calledOnce);\n+    });\n+\n+  });\n+","path":"app/addons/verifyinstall/tests/actionsSpec.js","position":32,"original_position":32,"commit_id":"7e56210e49500a83b92d09f62c4773a8f9852138","original_commit_id":"e8e4e33660d0cd2818b15755b982d4f22070c1aa","user":{"login":"sebastianrothbucher","id":7339874,"avatar_url":"https://avatars.githubusercontent.com/u/7339874?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastianrothbucher","html_url":"https://github.com/sebastianrothbucher","followers_url":"https://api.github.com/users/sebastianrothbucher/followers","following_url":"https://api.github.com/users/sebastianrothbucher/following{/other_user}","gists_url":"https://api.github.com/users/sebastianrothbucher/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastianrothbucher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastianrothbucher/subscriptions","organizations_url":"https://api.github.com/users/sebastianrothbucher/orgs","repos_url":"https://api.github.com/users/sebastianrothbucher/repos","events_url":"https://api.github.com/users/sebastianrothbucher/events{/privacy}","received_events_url":"https://api.github.com/users/sebastianrothbucher/received_events","type":"User","site_admin":false},"body":"Testing the actual run would be lots of mocking - not sure whether it would be worth it","created_at":"2015-05-01T14:04:23Z","updated_at":"2015-05-01T14:04:23Z","html_url":"https://github.com/apache/couchdb-fauxton/pull/393#discussion_r29502853","pull_request_url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/393","_links":{"self":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/comments/29502853"},"html":{"href":"https://github.com/apache/couchdb-fauxton/pull/393#discussion_r29502853"},"pull_request":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/393"}}},"pull_request":{"url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/393","id":33909455,"html_url":"https://github.com/apache/couchdb-fauxton/pull/393","diff_url":"https://github.com/apache/couchdb-fauxton/pull/393.diff","patch_url":"https://github.com/apache/couchdb-fauxton/pull/393.patch","issue_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/393","number":393,"state":"open","locked":false,"title":"Verify install page converted to React","user":{"login":"benkeen","id":512116,"avatar_url":"https://avatars.githubusercontent.com/u/512116?v=3","gravatar_id":"","url":"https://api.github.com/users/benkeen","html_url":"https://github.com/benkeen","followers_url":"https://api.github.com/users/benkeen/followers","following_url":"https://api.github.com/users/benkeen/following{/other_user}","gists_url":"https://api.github.com/users/benkeen/gists{/gist_id}","starred_url":"https://api.github.com/users/benkeen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benkeen/subscriptions","organizations_url":"https://api.github.com/users/benkeen/orgs","repos_url":"https://api.github.com/users/benkeen/repos","events_url":"https://api.github.com/users/benkeen/events{/privacy}","received_events_url":"https://api.github.com/users/benkeen/received_events","type":"User","site_admin":false},"body":"This converts the Verify Install page to React.\r\n\r\n@robertkowalski, the one thing I had trouble with was writing a decent test for `actions.startVerification()`. I couldn't override the model that does all the async tests to the server. So instead, this relies on the  other store, React + existing nightwatch tests confirming the functionality.","created_at":"2015-04-22T22:52:32Z","updated_at":"2015-05-01T14:04:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0cd8abb23677f08004037cca45edc00afe0e8b2f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/393/commits","review_comments_url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/393/comments","review_comment_url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/393/comments","statuses_url":"https://api.github.com/repos/apache/couchdb-fauxton/statuses/7e56210e49500a83b92d09f62c4773a8f9852138","head":{"label":"benkeen:verify-install-react","ref":"verify-install-react","sha":"7e56210e49500a83b92d09f62c4773a8f9852138","user":{"login":"benkeen","id":512116,"avatar_url":"https://avatars.githubusercontent.com/u/512116?v=3","gravatar_id":"","url":"https://api.github.com/users/benkeen","html_url":"https://github.com/benkeen","followers_url":"https://api.github.com/users/benkeen/followers","following_url":"https://api.github.com/users/benkeen/following{/other_user}","gists_url":"https://api.github.com/users/benkeen/gists{/gist_id}","starred_url":"https://api.github.com/users/benkeen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benkeen/subscriptions","organizations_url":"https://api.github.com/users/benkeen/orgs","repos_url":"https://api.github.com/users/benkeen/repos","events_url":"https://api.github.com/users/benkeen/events{/privacy}","received_events_url":"https://api.github.com/users/benkeen/received_events","type":"User","site_admin":false},"repo":{"id":24124373,"name":"couchdb-fauxton","full_name":"benkeen/couchdb-fauxton","owner":{"login":"benkeen","id":512116,"avatar_url":"https://avatars.githubusercontent.com/u/512116?v=3","gravatar_id":"","url":"https://api.github.com/users/benkeen","html_url":"https://github.com/benkeen","followers_url":"https://api.github.com/users/benkeen/followers","following_url":"https://api.github.com/users/benkeen/following{/other_user}","gists_url":"https://api.github.com/users/benkeen/gists{/gist_id}","starred_url":"https://api.github.com/users/benkeen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benkeen/subscriptions","organizations_url":"https://api.github.com/users/benkeen/orgs","repos_url":"https://api.github.com/users/benkeen/repos","events_url":"https://api.github.com/users/benkeen/events{/privacy}","received_events_url":"https://api.github.com/users/benkeen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/benkeen/couchdb-fauxton","description":"Mirror of Apache CouchDB","fork":true,"url":"https://api.github.com/repos/benkeen/couchdb-fauxton","forks_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/forks","keys_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/teams","hooks_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/hooks","issue_events_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/issues/events{/number}","events_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/events","assignees_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/assignees{/user}","branches_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/branches{/branch}","tags_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/tags","blobs_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/git/refs{/sha}","trees_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/statuses/{sha}","languages_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/languages","stargazers_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/stargazers","contributors_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/contributors","subscribers_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/subscribers","subscription_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/subscription","commits_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/commits{/sha}","git_commits_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/git/commits{/sha}","comments_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/comments{/number}","issue_comment_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/issues/comments{/number}","contents_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/contents/{+path}","compare_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/merges","archive_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/downloads","issues_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/issues{/number}","pulls_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/pulls{/number}","milestones_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/milestones{/number}","notifications_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/labels{/name}","releases_url":"https://api.github.com/repos/benkeen/couchdb-fauxton/releases{/id}","created_at":"2014-09-17T01:15:34Z","updated_at":"2015-04-13T18:47:47Z","pushed_at":"2015-04-30T20:01:42Z","git_url":"git://github.com/benkeen/couchdb-fauxton.git","ssh_url":"git@github.com:benkeen/couchdb-fauxton.git","clone_url":"https://github.com/benkeen/couchdb-fauxton.git","svn_url":"https://github.com/benkeen/couchdb-fauxton","homepage":null,"size":8441,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"410d2c7729533a9bb0873a14ab72bc7a590b738e","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":15993612,"name":"couchdb-fauxton","full_name":"apache/couchdb-fauxton","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/couchdb-fauxton","description":"Mirror of Apache CouchDB","fork":false,"url":"https://api.github.com/repos/apache/couchdb-fauxton","forks_url":"https://api.github.com/repos/apache/couchdb-fauxton/forks","keys_url":"https://api.github.com/repos/apache/couchdb-fauxton/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/couchdb-fauxton/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/couchdb-fauxton/teams","hooks_url":"https://api.github.com/repos/apache/couchdb-fauxton/hooks","issue_events_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/events{/number}","events_url":"https://api.github.com/repos/apache/couchdb-fauxton/events","assignees_url":"https://api.github.com/repos/apache/couchdb-fauxton/assignees{/user}","branches_url":"https://api.github.com/repos/apache/couchdb-fauxton/branches{/branch}","tags_url":"https://api.github.com/repos/apache/couchdb-fauxton/tags","blobs_url":"https://api.github.com/repos/apache/couchdb-fauxton/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/couchdb-fauxton/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/couchdb-fauxton/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/couchdb-fauxton/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/couchdb-fauxton/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/couchdb-fauxton/languages","stargazers_url":"https://api.github.com/repos/apache/couchdb-fauxton/stargazers","contributors_url":"https://api.github.com/repos/apache/couchdb-fauxton/contributors","subscribers_url":"https://api.github.com/repos/apache/couchdb-fauxton/subscribers","subscription_url":"https://api.github.com/repos/apache/couchdb-fauxton/subscription","commits_url":"https://api.github.com/repos/apache/couchdb-fauxton/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/couchdb-fauxton/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/couchdb-fauxton/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/couchdb-fauxton/contents/{+path}","compare_url":"https://api.github.com/repos/apache/couchdb-fauxton/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/couchdb-fauxton/merges","archive_url":"https://api.github.com/repos/apache/couchdb-fauxton/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/couchdb-fauxton/downloads","issues_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues{/number}","pulls_url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/couchdb-fauxton/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/couchdb-fauxton/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/couchdb-fauxton/labels{/name}","releases_url":"https://api.github.com/repos/apache/couchdb-fauxton/releases{/id}","created_at":"2014-01-17T08:00:08Z","updated_at":"2015-04-23T11:30:32Z","pushed_at":"2015-04-30T22:14:26Z","git_url":"git://github.com/apache/couchdb-fauxton.git","ssh_url":"git@github.com:apache/couchdb-fauxton.git","clone_url":"https://github.com/apache/couchdb-fauxton.git","svn_url":"https://github.com/apache/couchdb-fauxton","homepage":null,"size":11844,"stargazers_count":42,"watchers_count":42,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":48,"mirror_url":"git://git.apache.org/couchdb-fauxton.git","open_issues_count":13,"forks":48,"open_issues":13,"watchers":42,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/393"},"html":{"href":"https://github.com/apache/couchdb-fauxton/pull/393"},"issue":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/issues/393"},"comments":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/issues/393/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/393/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/393/commits"},"statuses":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/statuses/7e56210e49500a83b92d09f62c4773a8f9852138"}}}}