{"action":"created","comment":{"url":"https://api.github.com/repos/Adslot/adslot-ui/pulls/comments/91888647","pull_request_review_id":12396979,"id":91888647,"diff_hunk":"@@ -0,0 +1,57 @@\n+import React from 'react';\n+import SpinnerButton from 'components/adslotUi/SpinnerButtonComponent';\n+import sinon from 'sinon';\n+import { shallow } from 'enzyme';\n+import assert from 'assert';\n+\n+describe('SpinnerButtonComponent', () => {\n+  it('should render with defaults', () => {\n+    const element = shallow(<SpinnerButton>Test</SpinnerButton>);\n+    const hoverElement = element.find('.spinner-button__reveal');\n+    expect(hoverElement.text()).to.equal('Test');","path":"test/components/adslotUi/SpinnerButtonComponentTest.jsx","position":11,"original_position":11,"commit_id":"ed197f6de4688665fd22af20cee2eb4f577559d0","original_commit_id":"ed197f6de4688665fd22af20cee2eb4f577559d0","user":{"login":"patrick-ivers","id":1411509,"avatar_url":"https://avatars.githubusercontent.com/u/1411509?v=3","gravatar_id":"","url":"https://api.github.com/users/patrick-ivers","html_url":"https://github.com/patrick-ivers","followers_url":"https://api.github.com/users/patrick-ivers/followers","following_url":"https://api.github.com/users/patrick-ivers/following{/other_user}","gists_url":"https://api.github.com/users/patrick-ivers/gists{/gist_id}","starred_url":"https://api.github.com/users/patrick-ivers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrick-ivers/subscriptions","organizations_url":"https://api.github.com/users/patrick-ivers/orgs","repos_url":"https://api.github.com/users/patrick-ivers/repos","events_url":"https://api.github.com/users/patrick-ivers/events{/privacy}","received_events_url":"https://api.github.com/users/patrick-ivers/received_events","type":"User","site_admin":false},"body":"Not that it makes a functional difference, but you can write it as `.to.be('Test');`","created_at":"2016-12-12T06:27:48Z","updated_at":"2016-12-12T06:27:48Z","html_url":"https://github.com/Adslot/adslot-ui/pull/471#discussion_r91888647","pull_request_url":"https://api.github.com/repos/Adslot/adslot-ui/pulls/471","_links":{"self":{"href":"https://api.github.com/repos/Adslot/adslot-ui/pulls/comments/91888647"},"html":{"href":"https://github.com/Adslot/adslot-ui/pull/471#discussion_r91888647"},"pull_request":{"href":"https://api.github.com/repos/Adslot/adslot-ui/pulls/471"}}},"pull_request":{"url":"https://api.github.com/repos/Adslot/adslot-ui/pulls/471","id":97497070,"html_url":"https://github.com/Adslot/adslot-ui/pull/471","diff_url":"https://github.com/Adslot/adslot-ui/pull/471.diff","patch_url":"https://github.com/Adslot/adslot-ui/pull/471.patch","issue_url":"https://api.github.com/repos/Adslot/adslot-ui/issues/471","number":471,"state":"open","locked":false,"title":"Spinner button","user":{"login":"sonhanguyen","id":13200207,"avatar_url":"https://avatars.githubusercontent.com/u/13200207?v=3","gravatar_id":"","url":"https://api.github.com/users/sonhanguyen","html_url":"https://github.com/sonhanguyen","followers_url":"https://api.github.com/users/sonhanguyen/followers","following_url":"https://api.github.com/users/sonhanguyen/following{/other_user}","gists_url":"https://api.github.com/users/sonhanguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/sonhanguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonhanguyen/subscriptions","organizations_url":"https://api.github.com/users/sonhanguyen/orgs","repos_url":"https://api.github.com/users/sonhanguyen/repos","events_url":"https://api.github.com/users/sonhanguyen/events{/privacy}","received_events_url":"https://api.github.com/users/sonhanguyen/received_events","type":"User","site_admin":false},"body":"**Changes**\r\nAdd SpinnerButton component\r\n**Background context**\r\nIn Alexandria we now have a spinner component that comes in three sizes.\r\nIn Adslot UI we have buttons.\r\n\r\nWe'd now like to export a new SpinnerButton, one that allows us to show progress.\r\n\r\n**Trello Cards**\r\nhttps://trello.com/c/FoelX6UK/5932-adslot-ui-spinner-button-component\r\n\r\nWhat it currently looks like:\r\n![screen shot 2016-12-12 at 4 24 40 pm](https://cloud.githubusercontent.com/assets/13200207/21088940/e533f700-c087-11e6-9a6c-1adf4d37218c.png)\r\nWhat it is expected to look like after https://github.com/Adslot/alexandria/pull/356 is merged\r\n![screen shot 2016-12-12 at 4 25 59 pm](https://cloud.githubusercontent.com/assets/13200207/21088941/e5345ec0-c087-11e6-8961-7f566633e343.png)\r\n","created_at":"2016-12-12T05:35:43Z","updated_at":"2016-12-12T06:27:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b9024c4c1ce7ba7ebe88ea744b0490a399e8a376","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Adslot/adslot-ui/pulls/471/commits","review_comments_url":"https://api.github.com/repos/Adslot/adslot-ui/pulls/471/comments","review_comment_url":"https://api.github.com/repos/Adslot/adslot-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Adslot/adslot-ui/issues/471/comments","statuses_url":"https://api.github.com/repos/Adslot/adslot-ui/statuses/ed197f6de4688665fd22af20cee2eb4f577559d0","head":{"label":"Adslot:spinner-button","ref":"spinner-button","sha":"ed197f6de4688665fd22af20cee2eb4f577559d0","user":{"login":"Adslot","id":767098,"avatar_url":"https://avatars.githubusercontent.com/u/767098?v=3","gravatar_id":"","url":"https://api.github.com/users/Adslot","html_url":"https://github.com/Adslot","followers_url":"https://api.github.com/users/Adslot/followers","following_url":"https://api.github.com/users/Adslot/following{/other_user}","gists_url":"https://api.github.com/users/Adslot/gists{/gist_id}","starred_url":"https://api.github.com/users/Adslot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Adslot/subscriptions","organizations_url":"https://api.github.com/users/Adslot/orgs","repos_url":"https://api.github.com/users/Adslot/repos","events_url":"https://api.github.com/users/Adslot/events{/privacy}","received_events_url":"https://api.github.com/users/Adslot/received_events","type":"Organization","site_admin":false},"repo":{"id":45156258,"name":"adslot-ui","full_name":"Adslot/adslot-ui","owner":{"login":"Adslot","id":767098,"avatar_url":"https://avatars.githubusercontent.com/u/767098?v=3","gravatar_id":"","url":"https://api.github.com/users/Adslot","html_url":"https://github.com/Adslot","followers_url":"https://api.github.com/users/Adslot/followers","following_url":"https://api.github.com/users/Adslot/following{/other_user}","gists_url":"https://api.github.com/users/Adslot/gists{/gist_id}","starred_url":"https://api.github.com/users/Adslot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Adslot/subscriptions","organizations_url":"https://api.github.com/users/Adslot/orgs","repos_url":"https://api.github.com/users/Adslot/repos","events_url":"https://api.github.com/users/Adslot/events{/privacy}","received_events_url":"https://api.github.com/users/Adslot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Adslot/adslot-ui","description":null,"fork":false,"url":"https://api.github.com/repos/Adslot/adslot-ui","forks_url":"https://api.github.com/repos/Adslot/adslot-ui/forks","keys_url":"https://api.github.com/repos/Adslot/adslot-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Adslot/adslot-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Adslot/adslot-ui/teams","hooks_url":"https://api.github.com/repos/Adslot/adslot-ui/hooks","issue_events_url":"https://api.github.com/repos/Adslot/adslot-ui/issues/events{/number}","events_url":"https://api.github.com/repos/Adslot/adslot-ui/events","assignees_url":"https://api.github.com/repos/Adslot/adslot-ui/assignees{/user}","branches_url":"https://api.github.com/repos/Adslot/adslot-ui/branches{/branch}","tags_url":"https://api.github.com/repos/Adslot/adslot-ui/tags","blobs_url":"https://api.github.com/repos/Adslot/adslot-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Adslot/adslot-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Adslot/adslot-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/Adslot/adslot-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Adslot/adslot-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/Adslot/adslot-ui/languages","stargazers_url":"https://api.github.com/repos/Adslot/adslot-ui/stargazers","contributors_url":"https://api.github.com/repos/Adslot/adslot-ui/contributors","subscribers_url":"https://api.github.com/repos/Adslot/adslot-ui/subscribers","subscription_url":"https://api.github.com/repos/Adslot/adslot-ui/subscription","commits_url":"https://api.github.com/repos/Adslot/adslot-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/Adslot/adslot-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/Adslot/adslot-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/Adslot/adslot-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/Adslot/adslot-ui/contents/{+path}","compare_url":"https://api.github.com/repos/Adslot/adslot-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Adslot/adslot-ui/merges","archive_url":"https://api.github.com/repos/Adslot/adslot-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Adslot/adslot-ui/downloads","issues_url":"https://api.github.com/repos/Adslot/adslot-ui/issues{/number}","pulls_url":"https://api.github.com/repos/Adslot/adslot-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/Adslot/adslot-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/Adslot/adslot-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Adslot/adslot-ui/labels{/name}","releases_url":"https://api.github.com/repos/Adslot/adslot-ui/releases{/id}","deployments_url":"https://api.github.com/repos/Adslot/adslot-ui/deployments","created_at":"2015-10-29T02:51:12Z","updated_at":"2016-10-24T03:30:27Z","pushed_at":"2016-12-12T05:38:41Z","git_url":"git://github.com/Adslot/adslot-ui.git","ssh_url":"git@github.com:Adslot/adslot-ui.git","clone_url":"https://github.com/Adslot/adslot-ui.git","svn_url":"https://github.com/Adslot/adslot-ui","homepage":null,"size":4709,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":26,"forks":1,"open_issues":26,"watchers":10,"default_branch":"master"}},"base":{"label":"Adslot:master","ref":"master","sha":"60ad8346e33228b87256135468ac99a1c55786c5","user":{"login":"Adslot","id":767098,"avatar_url":"https://avatars.githubusercontent.com/u/767098?v=3","gravatar_id":"","url":"https://api.github.com/users/Adslot","html_url":"https://github.com/Adslot","followers_url":"https://api.github.com/users/Adslot/followers","following_url":"https://api.github.com/users/Adslot/following{/other_user}","gists_url":"https://api.github.com/users/Adslot/gists{/gist_id}","starred_url":"https://api.github.com/users/Adslot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Adslot/subscriptions","organizations_url":"https://api.github.com/users/Adslot/orgs","repos_url":"https://api.github.com/users/Adslot/repos","events_url":"https://api.github.com/users/Adslot/events{/privacy}","received_events_url":"https://api.github.com/users/Adslot/received_events","type":"Organization","site_admin":false},"repo":{"id":45156258,"name":"adslot-ui","full_name":"Adslot/adslot-ui","owner":{"login":"Adslot","id":767098,"avatar_url":"https://avatars.githubusercontent.com/u/767098?v=3","gravatar_id":"","url":"https://api.github.com/users/Adslot","html_url":"https://github.com/Adslot","followers_url":"https://api.github.com/users/Adslot/followers","following_url":"https://api.github.com/users/Adslot/following{/other_user}","gists_url":"https://api.github.com/users/Adslot/gists{/gist_id}","starred_url":"https://api.github.com/users/Adslot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Adslot/subscriptions","organizations_url":"https://api.github.com/users/Adslot/orgs","repos_url":"https://api.github.com/users/Adslot/repos","events_url":"https://api.github.com/users/Adslot/events{/privacy}","received_events_url":"https://api.github.com/users/Adslot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Adslot/adslot-ui","description":null,"fork":false,"url":"https://api.github.com/repos/Adslot/adslot-ui","forks_url":"https://api.github.com/repos/Adslot/adslot-ui/forks","keys_url":"https://api.github.com/repos/Adslot/adslot-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Adslot/adslot-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Adslot/adslot-ui/teams","hooks_url":"https://api.github.com/repos/Adslot/adslot-ui/hooks","issue_events_url":"https://api.github.com/repos/Adslot/adslot-ui/issues/events{/number}","events_url":"https://api.github.com/repos/Adslot/adslot-ui/events","assignees_url":"https://api.github.com/repos/Adslot/adslot-ui/assignees{/user}","branches_url":"https://api.github.com/repos/Adslot/adslot-ui/branches{/branch}","tags_url":"https://api.github.com/repos/Adslot/adslot-ui/tags","blobs_url":"https://api.github.com/repos/Adslot/adslot-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Adslot/adslot-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Adslot/adslot-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/Adslot/adslot-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Adslot/adslot-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/Adslot/adslot-ui/languages","stargazers_url":"https://api.github.com/repos/Adslot/adslot-ui/stargazers","contributors_url":"https://api.github.com/repos/Adslot/adslot-ui/contributors","subscribers_url":"https://api.github.com/repos/Adslot/adslot-ui/subscribers","subscription_url":"https://api.github.com/repos/Adslot/adslot-ui/subscription","commits_url":"https://api.github.com/repos/Adslot/adslot-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/Adslot/adslot-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/Adslot/adslot-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/Adslot/adslot-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/Adslot/adslot-ui/contents/{+path}","compare_url":"https://api.github.com/repos/Adslot/adslot-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Adslot/adslot-ui/merges","archive_url":"https://api.github.com/repos/Adslot/adslot-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Adslot/adslot-ui/downloads","issues_url":"https://api.github.com/repos/Adslot/adslot-ui/issues{/number}","pulls_url":"https://api.github.com/repos/Adslot/adslot-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/Adslot/adslot-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/Adslot/adslot-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Adslot/adslot-ui/labels{/name}","releases_url":"https://api.github.com/repos/Adslot/adslot-ui/releases{/id}","deployments_url":"https://api.github.com/repos/Adslot/adslot-ui/deployments","created_at":"2015-10-29T02:51:12Z","updated_at":"2016-10-24T03:30:27Z","pushed_at":"2016-12-12T05:38:41Z","git_url":"git://github.com/Adslot/adslot-ui.git","ssh_url":"git@github.com:Adslot/adslot-ui.git","clone_url":"https://github.com/Adslot/adslot-ui.git","svn_url":"https://github.com/Adslot/adslot-ui","homepage":null,"size":4709,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":26,"forks":1,"open_issues":26,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Adslot/adslot-ui/pulls/471"},"html":{"href":"https://github.com/Adslot/adslot-ui/pull/471"},"issue":{"href":"https://api.github.com/repos/Adslot/adslot-ui/issues/471"},"comments":{"href":"https://api.github.com/repos/Adslot/adslot-ui/issues/471/comments"},"review_comments":{"href":"https://api.github.com/repos/Adslot/adslot-ui/pulls/471/comments"},"review_comment":{"href":"https://api.github.com/repos/Adslot/adslot-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Adslot/adslot-ui/pulls/471/commits"},"statuses":{"href":"https://api.github.com/repos/Adslot/adslot-ui/statuses/ed197f6de4688665fd22af20cee2eb4f577559d0"}}}}
{"actor":{"display_login":"patrick-ivers"}}