{"action":"created","comment":{"url":"https://api.github.com/repos/Clever/components/pulls/comments/61526581","id":61526581,"diff_hunk":"@@ -0,0 +1,52 @@\n+/* eslint func-names: \"off\" */\n+\n+import assert from \"assert\";\n+import React from \"react\";\n+import sinon from \"sinon\";\n+import {mount, shallow} from \"enzyme\";\n+import {Button, ModalButton, ConfirmationButton} from \"../src\";\n+\n+describe(\"ConfirmationButton\", () => {\n+  it(\"renders a modal with confirm and cancel buttons\", () => {\n+    const confirmationButton = shallow(<ConfirmationButton value=\"Confirm pl0x\" modalTitle=\"A title\">\n+      <p>Hello</p>\n+    </ConfirmationButton>);","path":"test/ConfirmationButton_test.jsx","position":null,"original_position":13,"commit_id":"0856ed6f7f3b3a4bfb442bd2454b7787222c32ee","original_commit_id":"56d5661c2f8639489dc2e7e4c346ada821a8d452","user":{"login":"osdiab","id":1890926,"avatar_url":"https://avatars.githubusercontent.com/u/1890926?v=3","gravatar_id":"","url":"https://api.github.com/users/osdiab","html_url":"https://github.com/osdiab","followers_url":"https://api.github.com/users/osdiab/followers","following_url":"https://api.github.com/users/osdiab/following{/other_user}","gists_url":"https://api.github.com/users/osdiab/gists{/gist_id}","starred_url":"https://api.github.com/users/osdiab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osdiab/subscriptions","organizations_url":"https://api.github.com/users/osdiab/orgs","repos_url":"https://api.github.com/users/osdiab/repos","events_url":"https://api.github.com/users/osdiab/events{/privacy}","received_events_url":"https://api.github.com/users/osdiab/received_events","type":"User","site_admin":false},"body":"0856ed6","created_at":"2016-04-29T01:25:33Z","updated_at":"2016-04-29T01:25:33Z","html_url":"https://github.com/Clever/components/pull/21#discussion_r61526581","pull_request_url":"https://api.github.com/repos/Clever/components/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/Clever/components/pulls/comments/61526581"},"html":{"href":"https://github.com/Clever/components/pull/21#discussion_r61526581"},"pull_request":{"href":"https://api.github.com/repos/Clever/components/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/Clever/components/pulls/21","id":67593736,"html_url":"https://github.com/Clever/components/pull/21","diff_url":"https://github.com/Clever/components/pull/21.diff","patch_url":"https://github.com/Clever/components/pull/21.patch","issue_url":"https://api.github.com/repos/Clever/components/issues/21","number":21,"state":"open","locked":false,"title":"Confirmation button","user":{"login":"osdiab","id":1890926,"avatar_url":"https://avatars.githubusercontent.com/u/1890926?v=3","gravatar_id":"","url":"https://api.github.com/users/osdiab","html_url":"https://github.com/osdiab","followers_url":"https://api.github.com/users/osdiab/followers","following_url":"https://api.github.com/users/osdiab/following{/other_user}","gists_url":"https://api.github.com/users/osdiab/gists{/gist_id}","starred_url":"https://api.github.com/users/osdiab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osdiab/subscriptions","organizations_url":"https://api.github.com/users/osdiab/orgs","repos_url":"https://api.github.com/users/osdiab/repos","events_url":"https://api.github.com/users/osdiab/events{/privacy}","received_events_url":"https://api.github.com/users/osdiab/received_events","type":"User","site_admin":false},"body":"Shows a confirmation modal before acting.","created_at":"2016-04-23T02:40:32Z","updated_at":"2016-04-29T01:25:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e4b7418e3263ee6b66af74044a4d850be9cb6095","assignee":{"login":"jacobsimon","id":1131461,"avatar_url":"https://avatars.githubusercontent.com/u/1131461?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobsimon","html_url":"https://github.com/jacobsimon","followers_url":"https://api.github.com/users/jacobsimon/followers","following_url":"https://api.github.com/users/jacobsimon/following{/other_user}","gists_url":"https://api.github.com/users/jacobsimon/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobsimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobsimon/subscriptions","organizations_url":"https://api.github.com/users/jacobsimon/orgs","repos_url":"https://api.github.com/users/jacobsimon/repos","events_url":"https://api.github.com/users/jacobsimon/events{/privacy}","received_events_url":"https://api.github.com/users/jacobsimon/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Clever/components/pulls/21/commits","review_comments_url":"https://api.github.com/repos/Clever/components/pulls/21/comments","review_comment_url":"https://api.github.com/repos/Clever/components/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Clever/components/issues/21/comments","statuses_url":"https://api.github.com/repos/Clever/components/statuses/0856ed6f7f3b3a4bfb442bd2454b7787222c32ee","head":{"label":"Clever:confirmation-button","ref":"confirmation-button","sha":"0856ed6f7f3b3a4bfb442bd2454b7787222c32ee","user":{"login":"Clever","id":1885509,"avatar_url":"https://avatars.githubusercontent.com/u/1885509?v=3","gravatar_id":"","url":"https://api.github.com/users/Clever","html_url":"https://github.com/Clever","followers_url":"https://api.github.com/users/Clever/followers","following_url":"https://api.github.com/users/Clever/following{/other_user}","gists_url":"https://api.github.com/users/Clever/gists{/gist_id}","starred_url":"https://api.github.com/users/Clever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clever/subscriptions","organizations_url":"https://api.github.com/users/Clever/orgs","repos_url":"https://api.github.com/users/Clever/repos","events_url":"https://api.github.com/users/Clever/events{/privacy}","received_events_url":"https://api.github.com/users/Clever/received_events","type":"Organization","site_admin":false},"repo":{"id":46310590,"name":"components","full_name":"Clever/components","owner":{"login":"Clever","id":1885509,"avatar_url":"https://avatars.githubusercontent.com/u/1885509?v=3","gravatar_id":"","url":"https://api.github.com/users/Clever","html_url":"https://github.com/Clever","followers_url":"https://api.github.com/users/Clever/followers","following_url":"https://api.github.com/users/Clever/following{/other_user}","gists_url":"https://api.github.com/users/Clever/gists{/gist_id}","starred_url":"https://api.github.com/users/Clever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clever/subscriptions","organizations_url":"https://api.github.com/users/Clever/orgs","repos_url":"https://api.github.com/users/Clever/repos","events_url":"https://api.github.com/users/Clever/events{/privacy}","received_events_url":"https://api.github.com/users/Clever/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Clever/components","description":"Frontend components","fork":false,"url":"https://api.github.com/repos/Clever/components","forks_url":"https://api.github.com/repos/Clever/components/forks","keys_url":"https://api.github.com/repos/Clever/components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Clever/components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Clever/components/teams","hooks_url":"https://api.github.com/repos/Clever/components/hooks","issue_events_url":"https://api.github.com/repos/Clever/components/issues/events{/number}","events_url":"https://api.github.com/repos/Clever/components/events","assignees_url":"https://api.github.com/repos/Clever/components/assignees{/user}","branches_url":"https://api.github.com/repos/Clever/components/branches{/branch}","tags_url":"https://api.github.com/repos/Clever/components/tags","blobs_url":"https://api.github.com/repos/Clever/components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Clever/components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Clever/components/git/refs{/sha}","trees_url":"https://api.github.com/repos/Clever/components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Clever/components/statuses/{sha}","languages_url":"https://api.github.com/repos/Clever/components/languages","stargazers_url":"https://api.github.com/repos/Clever/components/stargazers","contributors_url":"https://api.github.com/repos/Clever/components/contributors","subscribers_url":"https://api.github.com/repos/Clever/components/subscribers","subscription_url":"https://api.github.com/repos/Clever/components/subscription","commits_url":"https://api.github.com/repos/Clever/components/commits{/sha}","git_commits_url":"https://api.github.com/repos/Clever/components/git/commits{/sha}","comments_url":"https://api.github.com/repos/Clever/components/comments{/number}","issue_comment_url":"https://api.github.com/repos/Clever/components/issues/comments{/number}","contents_url":"https://api.github.com/repos/Clever/components/contents/{+path}","compare_url":"https://api.github.com/repos/Clever/components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Clever/components/merges","archive_url":"https://api.github.com/repos/Clever/components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Clever/components/downloads","issues_url":"https://api.github.com/repos/Clever/components/issues{/number}","pulls_url":"https://api.github.com/repos/Clever/components/pulls{/number}","milestones_url":"https://api.github.com/repos/Clever/components/milestones{/number}","notifications_url":"https://api.github.com/repos/Clever/components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Clever/components/labels{/name}","releases_url":"https://api.github.com/repos/Clever/components/releases{/id}","deployments_url":"https://api.github.com/repos/Clever/components/deployments","created_at":"2015-11-16T23:47:29Z","updated_at":"2016-04-05T22:10:05Z","pushed_at":"2016-04-29T01:18:11Z","git_url":"git://github.com/Clever/components.git","ssh_url":"git@github.com:Clever/components.git","clone_url":"https://github.com/Clever/components.git","svn_url":"https://github.com/Clever/components","homepage":null,"size":1069,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Clever:master","ref":"master","sha":"b3619360f87a55e8db66df033e70ae33a344b601","user":{"login":"Clever","id":1885509,"avatar_url":"https://avatars.githubusercontent.com/u/1885509?v=3","gravatar_id":"","url":"https://api.github.com/users/Clever","html_url":"https://github.com/Clever","followers_url":"https://api.github.com/users/Clever/followers","following_url":"https://api.github.com/users/Clever/following{/other_user}","gists_url":"https://api.github.com/users/Clever/gists{/gist_id}","starred_url":"https://api.github.com/users/Clever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clever/subscriptions","organizations_url":"https://api.github.com/users/Clever/orgs","repos_url":"https://api.github.com/users/Clever/repos","events_url":"https://api.github.com/users/Clever/events{/privacy}","received_events_url":"https://api.github.com/users/Clever/received_events","type":"Organization","site_admin":false},"repo":{"id":46310590,"name":"components","full_name":"Clever/components","owner":{"login":"Clever","id":1885509,"avatar_url":"https://avatars.githubusercontent.com/u/1885509?v=3","gravatar_id":"","url":"https://api.github.com/users/Clever","html_url":"https://github.com/Clever","followers_url":"https://api.github.com/users/Clever/followers","following_url":"https://api.github.com/users/Clever/following{/other_user}","gists_url":"https://api.github.com/users/Clever/gists{/gist_id}","starred_url":"https://api.github.com/users/Clever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clever/subscriptions","organizations_url":"https://api.github.com/users/Clever/orgs","repos_url":"https://api.github.com/users/Clever/repos","events_url":"https://api.github.com/users/Clever/events{/privacy}","received_events_url":"https://api.github.com/users/Clever/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Clever/components","description":"Frontend components","fork":false,"url":"https://api.github.com/repos/Clever/components","forks_url":"https://api.github.com/repos/Clever/components/forks","keys_url":"https://api.github.com/repos/Clever/components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Clever/components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Clever/components/teams","hooks_url":"https://api.github.com/repos/Clever/components/hooks","issue_events_url":"https://api.github.com/repos/Clever/components/issues/events{/number}","events_url":"https://api.github.com/repos/Clever/components/events","assignees_url":"https://api.github.com/repos/Clever/components/assignees{/user}","branches_url":"https://api.github.com/repos/Clever/components/branches{/branch}","tags_url":"https://api.github.com/repos/Clever/components/tags","blobs_url":"https://api.github.com/repos/Clever/components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Clever/components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Clever/components/git/refs{/sha}","trees_url":"https://api.github.com/repos/Clever/components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Clever/components/statuses/{sha}","languages_url":"https://api.github.com/repos/Clever/components/languages","stargazers_url":"https://api.github.com/repos/Clever/components/stargazers","contributors_url":"https://api.github.com/repos/Clever/components/contributors","subscribers_url":"https://api.github.com/repos/Clever/components/subscribers","subscription_url":"https://api.github.com/repos/Clever/components/subscription","commits_url":"https://api.github.com/repos/Clever/components/commits{/sha}","git_commits_url":"https://api.github.com/repos/Clever/components/git/commits{/sha}","comments_url":"https://api.github.com/repos/Clever/components/comments{/number}","issue_comment_url":"https://api.github.com/repos/Clever/components/issues/comments{/number}","contents_url":"https://api.github.com/repos/Clever/components/contents/{+path}","compare_url":"https://api.github.com/repos/Clever/components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Clever/components/merges","archive_url":"https://api.github.com/repos/Clever/components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Clever/components/downloads","issues_url":"https://api.github.com/repos/Clever/components/issues{/number}","pulls_url":"https://api.github.com/repos/Clever/components/pulls{/number}","milestones_url":"https://api.github.com/repos/Clever/components/milestones{/number}","notifications_url":"https://api.github.com/repos/Clever/components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Clever/components/labels{/name}","releases_url":"https://api.github.com/repos/Clever/components/releases{/id}","deployments_url":"https://api.github.com/repos/Clever/components/deployments","created_at":"2015-11-16T23:47:29Z","updated_at":"2016-04-05T22:10:05Z","pushed_at":"2016-04-29T01:18:11Z","git_url":"git://github.com/Clever/components.git","ssh_url":"git@github.com:Clever/components.git","clone_url":"https://github.com/Clever/components.git","svn_url":"https://github.com/Clever/components","homepage":null,"size":1069,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Clever/components/pulls/21"},"html":{"href":"https://github.com/Clever/components/pull/21"},"issue":{"href":"https://api.github.com/repos/Clever/components/issues/21"},"comments":{"href":"https://api.github.com/repos/Clever/components/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/Clever/components/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/Clever/components/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Clever/components/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/Clever/components/statuses/0856ed6f7f3b3a4bfb442bd2454b7787222c32ee"}}}}