{"action":"created","comment":{"url":"https://api.github.com/repos/andela/activo-web/pulls/comments/213948998","pull_request_review_id":150892853,"id":213948998,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMzk0ODk5OA==","diff_hunk":"@@ -45,32 +48,44 @@ describe('The CentersPage component', () => {\n     expect(centerPageWrapperInstance.props.getCenters).toHaveBeenCalled();\n   });\n \n+  it('displays the createCenterPage form modal on click', () => {\n+    wrapper.setState({ isLoading: false });\n+    wrapper.find('.add-center').simulate('click');\n+    expect(centerPageWrapperInstance.state.showCreateModal).toBeTruthy();\n+    expect(wrapper.find(CreateCentersPage).length).toBe(1);\n+  });\n+\n   it('shows a spinner while loading', () => {\n-    wrapper = mount(<MemoryRouter><CentersPage { ...props } isLoading={true} /></MemoryRouter>);\n-    expect(wrapper.find('.spinner').length).toEqual(1);\n+    centerPageWrapperInstance.setState({ isLoading: true });","path":"src/pages/CentersPage/CentersPage.test.tsx","position":60,"original_position":60,"commit_id":"427b9c0910815537c8de84189efa808ea9abb68f","original_commit_id":"427b9c0910815537c8de84189efa808ea9abb68f","user":{"login":"Iyke09","id":28359346,"node_id":"MDQ6VXNlcjI4MzU5MzQ2","avatar_url":"https://avatars2.githubusercontent.com/u/28359346?v=4","gravatar_id":"","url":"https://api.github.com/users/Iyke09","html_url":"https://github.com/Iyke09","followers_url":"https://api.github.com/users/Iyke09/followers","following_url":"https://api.github.com/users/Iyke09/following{/other_user}","gists_url":"https://api.github.com/users/Iyke09/gists{/gist_id}","starred_url":"https://api.github.com/users/Iyke09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Iyke09/subscriptions","organizations_url":"https://api.github.com/users/Iyke09/orgs","repos_url":"https://api.github.com/users/Iyke09/repos","events_url":"https://api.github.com/users/Iyke09/events{/privacy}","received_events_url":"https://api.github.com/users/Iyke09/received_events","type":"User","site_admin":false},"body":"add initial condition","created_at":"2018-08-30T08:43:42Z","updated_at":"2018-08-30T08:43:42Z","html_url":"https://github.com/andela/activo-web/pull/85#discussion_r213948998","pull_request_url":"https://api.github.com/repos/andela/activo-web/pulls/85","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/andela/activo-web/pulls/comments/213948998"},"html":{"href":"https://github.com/andela/activo-web/pull/85#discussion_r213948998"},"pull_request":{"href":"https://api.github.com/repos/andela/activo-web/pulls/85"}}},"pull_request":{"url":"https://api.github.com/repos/andela/activo-web/pulls/85","id":206175549,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2MTc1NTQ5","html_url":"https://github.com/andela/activo-web/pull/85","diff_url":"https://github.com/andela/activo-web/pull/85.diff","patch_url":"https://github.com/andela/activo-web/pull/85.patch","issue_url":"https://api.github.com/repos/andela/activo-web/issues/85","number":85,"state":"open","locked":false,"title":"#159348904 Create New Centers","user":{"login":"Iyke09","id":28359346,"node_id":"MDQ6VXNlcjI4MzU5MzQ2","avatar_url":"https://avatars2.githubusercontent.com/u/28359346?v=4","gravatar_id":"","url":"https://api.github.com/users/Iyke09","html_url":"https://github.com/Iyke09","followers_url":"https://api.github.com/users/Iyke09/followers","following_url":"https://api.github.com/users/Iyke09/following{/other_user}","gists_url":"https://api.github.com/users/Iyke09/gists{/gist_id}","starred_url":"https://api.github.com/users/Iyke09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Iyke09/subscriptions","organizations_url":"https://api.github.com/users/Iyke09/orgs","repos_url":"https://api.github.com/users/Iyke09/repos","events_url":"https://api.github.com/users/Iyke09/events{/privacy}","received_events_url":"https://api.github.com/users/Iyke09/received_events","type":"User","site_admin":false},"body":"**What does this PR do?**\r\nIt enables a user to create a new center\r\n\r\n**Description of Task to be completed?**\r\n- create a form to enable users to create new centers\r\n- implement cloudinary image upload\r\n- implement image preview\r\n\r\n**How should this be manually tested?**\r\n- run `yarn start:dev` on the terminal  to open the web browser on port 3000\r\n- Navigate to the settings page\r\n- Click on centers and you should see a modal popup\r\n\r\n**Any background context you want to provide?**\r\nN/A\r\n\r\n**What are the relevant pivotal tracker stories?**\r\n[#159348904](https://www.pivotaltracker.com/story/show/159348904\r\n)\r\n\r\n**Screenshots (if appropriate)**\r\n<img width=\"1440\" alt=\"screen shot 2018-08-10 at 7 28 56 pm\" src=\"https://user-images.githubusercontent.com/28359346/43974864-bdeb3576-9cd3-11e8-86ad-824b953f44ad.png\">\r\n\r\n**Questions:**\r\nN/A","created_at":"2018-08-04T04:41:04Z","updated_at":"2018-08-30T08:43:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"864908a7f346dabd44212ad1b7da00e1159614d7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1019136810,"node_id":"MDU6TGFiZWwxMDE5MTM2ODEw","url":"https://api.github.com/repos/andela/activo-web/labels/Feedback%20Implemented","name":"Feedback Implemented","color":"7057ff","default":false},{"id":953906751,"node_id":"MDU6TGFiZWw5NTM5MDY3NTE=","url":"https://api.github.com/repos/andela/activo-web/labels/Finished","name":"Finished","color":"0e8a16","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/andela/activo-web/pulls/85/commits","review_comments_url":"https://api.github.com/repos/andela/activo-web/pulls/85/comments","review_comment_url":"https://api.github.com/repos/andela/activo-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/activo-web/issues/85/comments","statuses_url":"https://api.github.com/repos/andela/activo-web/statuses/427b9c0910815537c8de84189efa808ea9abb68f","head":{"label":"andela:ft-create-centers-159348904","ref":"ft-create-centers-159348904","sha":"427b9c0910815537c8de84189efa808ea9abb68f","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":132578458,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI1Nzg0NTg=","name":"activo-web","full_name":"andela/activo-web","owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/activo-web","description":"Web client for the activo application","fork":false,"url":"https://api.github.com/repos/andela/activo-web","forks_url":"https://api.github.com/repos/andela/activo-web/forks","keys_url":"https://api.github.com/repos/andela/activo-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/activo-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/activo-web/teams","hooks_url":"https://api.github.com/repos/andela/activo-web/hooks","issue_events_url":"https://api.github.com/repos/andela/activo-web/issues/events{/number}","events_url":"https://api.github.com/repos/andela/activo-web/events","assignees_url":"https://api.github.com/repos/andela/activo-web/assignees{/user}","branches_url":"https://api.github.com/repos/andela/activo-web/branches{/branch}","tags_url":"https://api.github.com/repos/andela/activo-web/tags","blobs_url":"https://api.github.com/repos/andela/activo-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/activo-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/activo-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/activo-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/activo-web/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/activo-web/languages","stargazers_url":"https://api.github.com/repos/andela/activo-web/stargazers","contributors_url":"https://api.github.com/repos/andela/activo-web/contributors","subscribers_url":"https://api.github.com/repos/andela/activo-web/subscribers","subscription_url":"https://api.github.com/repos/andela/activo-web/subscription","commits_url":"https://api.github.com/repos/andela/activo-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/activo-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/activo-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/activo-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/activo-web/contents/{+path}","compare_url":"https://api.github.com/repos/andela/activo-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/activo-web/merges","archive_url":"https://api.github.com/repos/andela/activo-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/activo-web/downloads","issues_url":"https://api.github.com/repos/andela/activo-web/issues{/number}","pulls_url":"https://api.github.com/repos/andela/activo-web/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/activo-web/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/activo-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/activo-web/labels{/name}","releases_url":"https://api.github.com/repos/andela/activo-web/releases{/id}","deployments_url":"https://api.github.com/repos/andela/activo-web/deployments","created_at":"2018-05-08T08:28:37Z","updated_at":"2018-08-27T18:57:33Z","pushed_at":"2018-08-29T21:11:41Z","git_url":"git://github.com/andela/activo-web.git","ssh_url":"git@github.com:andela/activo-web.git","clone_url":"https://github.com/andela/activo-web.git","svn_url":"https://github.com/andela/activo-web","homepage":"http://activo-staging.andela.com","size":3228,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":13,"license":null,"forks":4,"open_issues":13,"watchers":1,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"4d2a0c5c770ef1bbf2cbde093f30c4cacca08470","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":132578458,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI1Nzg0NTg=","name":"activo-web","full_name":"andela/activo-web","owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/activo-web","description":"Web client for the activo application","fork":false,"url":"https://api.github.com/repos/andela/activo-web","forks_url":"https://api.github.com/repos/andela/activo-web/forks","keys_url":"https://api.github.com/repos/andela/activo-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/activo-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/activo-web/teams","hooks_url":"https://api.github.com/repos/andela/activo-web/hooks","issue_events_url":"https://api.github.com/repos/andela/activo-web/issues/events{/number}","events_url":"https://api.github.com/repos/andela/activo-web/events","assignees_url":"https://api.github.com/repos/andela/activo-web/assignees{/user}","branches_url":"https://api.github.com/repos/andela/activo-web/branches{/branch}","tags_url":"https://api.github.com/repos/andela/activo-web/tags","blobs_url":"https://api.github.com/repos/andela/activo-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/activo-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/activo-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/activo-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/activo-web/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/activo-web/languages","stargazers_url":"https://api.github.com/repos/andela/activo-web/stargazers","contributors_url":"https://api.github.com/repos/andela/activo-web/contributors","subscribers_url":"https://api.github.com/repos/andela/activo-web/subscribers","subscription_url":"https://api.github.com/repos/andela/activo-web/subscription","commits_url":"https://api.github.com/repos/andela/activo-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/activo-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/activo-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/activo-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/activo-web/contents/{+path}","compare_url":"https://api.github.com/repos/andela/activo-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/activo-web/merges","archive_url":"https://api.github.com/repos/andela/activo-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/activo-web/downloads","issues_url":"https://api.github.com/repos/andela/activo-web/issues{/number}","pulls_url":"https://api.github.com/repos/andela/activo-web/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/activo-web/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/activo-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/activo-web/labels{/name}","releases_url":"https://api.github.com/repos/andela/activo-web/releases{/id}","deployments_url":"https://api.github.com/repos/andela/activo-web/deployments","created_at":"2018-05-08T08:28:37Z","updated_at":"2018-08-27T18:57:33Z","pushed_at":"2018-08-29T21:11:41Z","git_url":"git://github.com/andela/activo-web.git","ssh_url":"git@github.com:andela/activo-web.git","clone_url":"https://github.com/andela/activo-web.git","svn_url":"https://github.com/andela/activo-web","homepage":"http://activo-staging.andela.com","size":3228,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":13,"license":null,"forks":4,"open_issues":13,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/activo-web/pulls/85"},"html":{"href":"https://github.com/andela/activo-web/pull/85"},"issue":{"href":"https://api.github.com/repos/andela/activo-web/issues/85"},"comments":{"href":"https://api.github.com/repos/andela/activo-web/issues/85/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/activo-web/pulls/85/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/activo-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/activo-web/pulls/85/commits"},"statuses":{"href":"https://api.github.com/repos/andela/activo-web/statuses/427b9c0910815537c8de84189efa808ea9abb68f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Iyke09"}}