{"action":"created","comment":{"url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/pulls/comments/76103131","id":76103131,"diff_hunk":"@@ -0,0 +1,53 @@\n+import React from 'react';\n+import Category, { TAB_ACTIVITIES, TAB_ABOUT } from 'src/categories/Category';\n+\n+\n+describe('Category', () => {\n+  function createComponent(props = {}) {\n+    return (\n+      <Category\n+        category={{\n+          id: 1,\n+          title: 'Level',\n+          color: '#97c13c',\n+        }}\n+        {...props}\n+      />\n+    );\n+  }\n+\n+  it('should render', () => {\n+    const el = render(createComponent());\n+    expect(el).toMatchSnapshot();\n+  });\n+\n+  it('should render the currently active tab', () => {\n+    let el;\n+    el = render(createComponent({ initialPropType: TAB_ABOUT }));\n+    expect(el).toMatchSnapshot();\n+\n+    el = render(createComponent({ initialPropType: TAB_ACTIVITIES }));\n+    expect(el).toMatchSnapshot();\n+  });","path":"src/categories/Category/__tests__/Category-test.js","position":31,"original_position":31,"commit_id":"0fb098eb664f05571d4d89a03a1c1dd7fc85e50f","original_commit_id":"0fb098eb664f05571d4d89a03a1c1dd7fc85e50f","user":{"login":"justinvdm","id":1731223,"avatar_url":"https://avatars.githubusercontent.com/u/1731223?v=3","gravatar_id":"","url":"https://api.github.com/users/justinvdm","html_url":"https://github.com/justinvdm","followers_url":"https://api.github.com/users/justinvdm/followers","following_url":"https://api.github.com/users/justinvdm/following{/other_user}","gists_url":"https://api.github.com/users/justinvdm/gists{/gist_id}","starred_url":"https://api.github.com/users/justinvdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinvdm/subscriptions","organizations_url":"https://api.github.com/users/justinvdm/orgs","repos_url":"https://api.github.com/users/justinvdm/repos","events_url":"https://api.github.com/users/justinvdm/events{/privacy}","received_events_url":"https://api.github.com/users/justinvdm/received_events","type":"User","site_admin":false},"body":"![screen shot 2016-08-24 at 5 28 33 pm](https://cloud.githubusercontent.com/assets/1731223/17941098/1cd51e7a-6a32-11e6-8004-e26b0ce255ba.png)\r\n![screen shot 2016-08-24 at 5 28 39 pm](https://cloud.githubusercontent.com/assets/1731223/17941099/1f75ab36-6a32-11e6-851f-f6826de3ae32.png)\r\n","created_at":"2016-08-24T17:37:01Z","updated_at":"2016-08-24T17:37:01Z","html_url":"https://github.com/praekeltfoundation/mentorship-droid/pull/56#discussion_r76103131","pull_request_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/pulls/56","_links":{"self":{"href":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/pulls/comments/76103131"},"html":{"href":"https://github.com/praekeltfoundation/mentorship-droid/pull/56#discussion_r76103131"},"pull_request":{"href":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/pulls/56"}}},"pull_request":{"url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/pulls/56","id":82584870,"html_url":"https://github.com/praekeltfoundation/mentorship-droid/pull/56","diff_url":"https://github.com/praekeltfoundation/mentorship-droid/pull/56.diff","patch_url":"https://github.com/praekeltfoundation/mentorship-droid/pull/56.patch","issue_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/issues/56","number":56,"state":"open","locked":false,"title":"Add base component for category detail screen","user":{"login":"justinvdm","id":1731223,"avatar_url":"https://avatars.githubusercontent.com/u/1731223?v=3","gravatar_id":"","url":"https://api.github.com/users/justinvdm","html_url":"https://github.com/justinvdm","followers_url":"https://api.github.com/users/justinvdm/followers","following_url":"https://api.github.com/users/justinvdm/following{/other_user}","gists_url":"https://api.github.com/users/justinvdm/gists{/gist_id}","starred_url":"https://api.github.com/users/justinvdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinvdm/subscriptions","organizations_url":"https://api.github.com/users/justinvdm/orgs","repos_url":"https://api.github.com/users/justinvdm/repos","events_url":"https://api.github.com/users/justinvdm/events{/privacy}","received_events_url":"https://api.github.com/users/justinvdm/received_events","type":"User","site_admin":false},"body":"The category detail screen is a tabbed view. This ticket is for creating the base component with its header and tabs, and stubs for its tabs' views.","created_at":"2016-08-24T17:33:21Z","updated_at":"2016-08-24T17:37:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"79e8a3ec7d5b062903bbdd54f36d251db85aff5d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/pulls/56/commits","review_comments_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/pulls/56/comments","review_comment_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/pulls/comments{/number}","comments_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/issues/56/comments","statuses_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/statuses/0fb098eb664f05571d4d89a03a1c1dd7fc85e50f","head":{"label":"praekeltfoundation:feature/issue-56-category-detail","ref":"feature/issue-56-category-detail","sha":"0fb098eb664f05571d4d89a03a1c1dd7fc85e50f","user":{"login":"praekeltfoundation","id":15786759,"avatar_url":"https://avatars.githubusercontent.com/u/15786759?v=3","gravatar_id":"","url":"https://api.github.com/users/praekeltfoundation","html_url":"https://github.com/praekeltfoundation","followers_url":"https://api.github.com/users/praekeltfoundation/followers","following_url":"https://api.github.com/users/praekeltfoundation/following{/other_user}","gists_url":"https://api.github.com/users/praekeltfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/praekeltfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekeltfoundation/subscriptions","organizations_url":"https://api.github.com/users/praekeltfoundation/orgs","repos_url":"https://api.github.com/users/praekeltfoundation/repos","events_url":"https://api.github.com/users/praekeltfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/praekeltfoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":51919314,"name":"mentorship-droid","full_name":"praekeltfoundation/mentorship-droid","owner":{"login":"praekeltfoundation","id":15786759,"avatar_url":"https://avatars.githubusercontent.com/u/15786759?v=3","gravatar_id":"","url":"https://api.github.com/users/praekeltfoundation","html_url":"https://github.com/praekeltfoundation","followers_url":"https://api.github.com/users/praekeltfoundation/followers","following_url":"https://api.github.com/users/praekeltfoundation/following{/other_user}","gists_url":"https://api.github.com/users/praekeltfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/praekeltfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekeltfoundation/subscriptions","organizations_url":"https://api.github.com/users/praekeltfoundation/orgs","repos_url":"https://api.github.com/users/praekeltfoundation/repos","events_url":"https://api.github.com/users/praekeltfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/praekeltfoundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/praekeltfoundation/mentorship-droid","description":"","fork":false,"url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid","forks_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/forks","keys_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/teams","hooks_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/hooks","issue_events_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/issues/events{/number}","events_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/events","assignees_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/assignees{/user}","branches_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/branches{/branch}","tags_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/tags","blobs_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/git/refs{/sha}","trees_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/statuses/{sha}","languages_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/languages","stargazers_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/stargazers","contributors_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/contributors","subscribers_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/subscribers","subscription_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/subscription","commits_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/commits{/sha}","git_commits_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/git/commits{/sha}","comments_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/comments{/number}","issue_comment_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/issues/comments{/number}","contents_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/contents/{+path}","compare_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/merges","archive_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/downloads","issues_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/issues{/number}","pulls_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/pulls{/number}","milestones_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/milestones{/number}","notifications_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/labels{/name}","releases_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/releases{/id}","deployments_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/deployments","created_at":"2016-02-17T11:58:04Z","updated_at":"2016-06-02T10:32:34Z","pushed_at":"2016-08-24T17:36:16Z","git_url":"git://github.com/praekeltfoundation/mentorship-droid.git","ssh_url":"git@github.com:praekeltfoundation/mentorship-droid.git","clone_url":"https://github.com/praekeltfoundation/mentorship-droid.git","svn_url":"https://github.com/praekeltfoundation/mentorship-droid","homepage":null,"size":1967,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"develop"}},"base":{"label":"praekeltfoundation:develop","ref":"develop","sha":"12c8ce196df5416e29472ab7d2590c849f437f74","user":{"login":"praekeltfoundation","id":15786759,"avatar_url":"https://avatars.githubusercontent.com/u/15786759?v=3","gravatar_id":"","url":"https://api.github.com/users/praekeltfoundation","html_url":"https://github.com/praekeltfoundation","followers_url":"https://api.github.com/users/praekeltfoundation/followers","following_url":"https://api.github.com/users/praekeltfoundation/following{/other_user}","gists_url":"https://api.github.com/users/praekeltfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/praekeltfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekeltfoundation/subscriptions","organizations_url":"https://api.github.com/users/praekeltfoundation/orgs","repos_url":"https://api.github.com/users/praekeltfoundation/repos","events_url":"https://api.github.com/users/praekeltfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/praekeltfoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":51919314,"name":"mentorship-droid","full_name":"praekeltfoundation/mentorship-droid","owner":{"login":"praekeltfoundation","id":15786759,"avatar_url":"https://avatars.githubusercontent.com/u/15786759?v=3","gravatar_id":"","url":"https://api.github.com/users/praekeltfoundation","html_url":"https://github.com/praekeltfoundation","followers_url":"https://api.github.com/users/praekeltfoundation/followers","following_url":"https://api.github.com/users/praekeltfoundation/following{/other_user}","gists_url":"https://api.github.com/users/praekeltfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/praekeltfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekeltfoundation/subscriptions","organizations_url":"https://api.github.com/users/praekeltfoundation/orgs","repos_url":"https://api.github.com/users/praekeltfoundation/repos","events_url":"https://api.github.com/users/praekeltfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/praekeltfoundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/praekeltfoundation/mentorship-droid","description":"","fork":false,"url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid","forks_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/forks","keys_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/teams","hooks_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/hooks","issue_events_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/issues/events{/number}","events_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/events","assignees_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/assignees{/user}","branches_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/branches{/branch}","tags_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/tags","blobs_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/git/refs{/sha}","trees_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/statuses/{sha}","languages_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/languages","stargazers_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/stargazers","contributors_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/contributors","subscribers_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/subscribers","subscription_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/subscription","commits_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/commits{/sha}","git_commits_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/git/commits{/sha}","comments_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/comments{/number}","issue_comment_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/issues/comments{/number}","contents_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/contents/{+path}","compare_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/merges","archive_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/downloads","issues_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/issues{/number}","pulls_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/pulls{/number}","milestones_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/milestones{/number}","notifications_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/labels{/name}","releases_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/releases{/id}","deployments_url":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/deployments","created_at":"2016-02-17T11:58:04Z","updated_at":"2016-06-02T10:32:34Z","pushed_at":"2016-08-24T17:36:16Z","git_url":"git://github.com/praekeltfoundation/mentorship-droid.git","ssh_url":"git@github.com:praekeltfoundation/mentorship-droid.git","clone_url":"https://github.com/praekeltfoundation/mentorship-droid.git","svn_url":"https://github.com/praekeltfoundation/mentorship-droid","homepage":null,"size":1967,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/pulls/56"},"html":{"href":"https://github.com/praekeltfoundation/mentorship-droid/pull/56"},"issue":{"href":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/issues/56"},"comments":{"href":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/praekeltfoundation/mentorship-droid/statuses/0fb098eb664f05571d4d89a03a1c1dd7fc85e50f"}}}}
{"actor":{"display_login":"justinvdm"}}