{"action":"created","comment":{"url":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/comments/107185824","pull_request_review_id":28142109,"id":107185824,"diff_hunk":"@@ -0,0 +1,50 @@\n+import React from 'react'\n+import { expect } from 'chai'\n+import { shallow } from 'enzyme'\n+import { Badge } from 'kitten/components/notifications/badge'\n+\n+describe('<Badge />', () => {\n+  describe('by default', () => {\n+    const badge = shallow(<Badge />)\n+\n+    it('is a <span />', () => {\n+      expect(badge).to.have.tagName('span')\n+    })\n+\n+    it('has a default class', () => {\n+      expect(badge).to.have.className('k-Badge')\n+    })\n+  })\n+\n+  describe('with custom class', () => {\n+    const badge = shallow(<Badge className=\"custom__class\" />)\n+\n+    it('has a custom class', () => {\n+      expect(badge).to.have.className('custom__class')\n+    })\n+  })\n+\n+  describe('with `spaced` prop', () => {","path":"assets/javascripts/kitten/components/notifications/badge.test.js","position":27,"original_position":27,"commit_id":"09e7dd2873e140028a61e18153315194b9607e70","original_commit_id":"09e7dd2873e140028a61e18153315194b9607e70","user":{"login":"sunny","id":132,"avatar_url":"https://avatars1.githubusercontent.com/u/132?v=3","gravatar_id":"","url":"https://api.github.com/users/sunny","html_url":"https://github.com/sunny","followers_url":"https://api.github.com/users/sunny/followers","following_url":"https://api.github.com/users/sunny/following{/other_user}","gists_url":"https://api.github.com/users/sunny/gists{/gist_id}","starred_url":"https://api.github.com/users/sunny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunny/subscriptions","organizations_url":"https://api.github.com/users/sunny/orgs","repos_url":"https://api.github.com/users/sunny/repos","events_url":"https://api.github.com/users/sunny/events{/privacy}","received_events_url":"https://api.github.com/users/sunny/received_events","type":"User","site_admin":false},"body":"Je pense pas qu'il faille utiliser des ` pour échapper les noms des props, sinon j'ai peur qu'on ait besoin de le faire tout le temps.","created_at":"2017-03-21T15:24:20Z","updated_at":"2017-03-21T15:24:36Z","html_url":"https://github.com/KissKissBankBank/kitten/pull/538#discussion_r107185824","pull_request_url":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/538","_links":{"self":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/comments/107185824"},"html":{"href":"https://github.com/KissKissBankBank/kitten/pull/538#discussion_r107185824"},"pull_request":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/538"}}},"pull_request":{"url":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/538","id":111528218,"html_url":"https://github.com/KissKissBankBank/kitten/pull/538","diff_url":"https://github.com/KissKissBankBank/kitten/pull/538.diff","patch_url":"https://github.com/KissKissBankBank/kitten/pull/538.patch","issue_url":"https://api.github.com/repos/KissKissBankBank/kitten/issues/538","number":538,"state":"open","locked":false,"title":"Add `Badge` React component","user":{"login":"LanF3usT","id":736319,"avatar_url":"https://avatars2.githubusercontent.com/u/736319?v=3","gravatar_id":"","url":"https://api.github.com/users/LanF3usT","html_url":"https://github.com/LanF3usT","followers_url":"https://api.github.com/users/LanF3usT/followers","following_url":"https://api.github.com/users/LanF3usT/following{/other_user}","gists_url":"https://api.github.com/users/LanF3usT/gists{/gist_id}","starred_url":"https://api.github.com/users/LanF3usT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LanF3usT/subscriptions","organizations_url":"https://api.github.com/users/LanF3usT/orgs","repos_url":"https://api.github.com/users/LanF3usT/repos","events_url":"https://api.github.com/users/LanF3usT/events{/privacy}","received_events_url":"https://api.github.com/users/LanF3usT/received_events","type":"User","site_admin":false},"body":"Screenshot:\r\n\r\n<img width=\"153\" alt=\"capture d ecran 2017-03-20 a 12 53 24\" src=\"https://cloud.githubusercontent.com/assets/736319/24098720/3e6df54c-0d6c-11e7-8bda-61b41519dcec.png\">\r\n\r\nTODO:\r\n\r\n- [x] Tests\r\n- [x] Changelog\r\n","created_at":"2017-03-20T11:01:44Z","updated_at":"2017-03-21T15:24:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8c87ac1ae6b0b9dff7bb742719ca5a0cc0191674","assignee":{"login":"LanF3usT","id":736319,"avatar_url":"https://avatars2.githubusercontent.com/u/736319?v=3","gravatar_id":"","url":"https://api.github.com/users/LanF3usT","html_url":"https://github.com/LanF3usT","followers_url":"https://api.github.com/users/LanF3usT/followers","following_url":"https://api.github.com/users/LanF3usT/following{/other_user}","gists_url":"https://api.github.com/users/LanF3usT/gists{/gist_id}","starred_url":"https://api.github.com/users/LanF3usT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LanF3usT/subscriptions","organizations_url":"https://api.github.com/users/LanF3usT/orgs","repos_url":"https://api.github.com/users/LanF3usT/repos","events_url":"https://api.github.com/users/LanF3usT/events{/privacy}","received_events_url":"https://api.github.com/users/LanF3usT/received_events","type":"User","site_admin":false},"assignees":[{"login":"LanF3usT","id":736319,"avatar_url":"https://avatars2.githubusercontent.com/u/736319?v=3","gravatar_id":"","url":"https://api.github.com/users/LanF3usT","html_url":"https://github.com/LanF3usT","followers_url":"https://api.github.com/users/LanF3usT/followers","following_url":"https://api.github.com/users/LanF3usT/following{/other_user}","gists_url":"https://api.github.com/users/LanF3usT/gists{/gist_id}","starred_url":"https://api.github.com/users/LanF3usT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LanF3usT/subscriptions","organizations_url":"https://api.github.com/users/LanF3usT/orgs","repos_url":"https://api.github.com/users/LanF3usT/repos","events_url":"https://api.github.com/users/LanF3usT/events{/privacy}","received_events_url":"https://api.github.com/users/LanF3usT/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/538/commits","review_comments_url":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/538/comments","review_comment_url":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KissKissBankBank/kitten/issues/538/comments","statuses_url":"https://api.github.com/repos/KissKissBankBank/kitten/statuses/09e7dd2873e140028a61e18153315194b9607e70","head":{"label":"KissKissBankBank:feature/badge-rounded","ref":"feature/badge-rounded","sha":"09e7dd2873e140028a61e18153315194b9607e70","user":{"login":"KissKissBankBank","id":6039709,"avatar_url":"https://avatars2.githubusercontent.com/u/6039709?v=3","gravatar_id":"","url":"https://api.github.com/users/KissKissBankBank","html_url":"https://github.com/KissKissBankBank","followers_url":"https://api.github.com/users/KissKissBankBank/followers","following_url":"https://api.github.com/users/KissKissBankBank/following{/other_user}","gists_url":"https://api.github.com/users/KissKissBankBank/gists{/gist_id}","starred_url":"https://api.github.com/users/KissKissBankBank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KissKissBankBank/subscriptions","organizations_url":"https://api.github.com/users/KissKissBankBank/orgs","repos_url":"https://api.github.com/users/KissKissBankBank/repos","events_url":"https://api.github.com/users/KissKissBankBank/events{/privacy}","received_events_url":"https://api.github.com/users/KissKissBankBank/received_events","type":"Organization","site_admin":false},"repo":{"id":61292012,"name":"kitten","full_name":"KissKissBankBank/kitten","owner":{"login":"KissKissBankBank","id":6039709,"avatar_url":"https://avatars2.githubusercontent.com/u/6039709?v=3","gravatar_id":"","url":"https://api.github.com/users/KissKissBankBank","html_url":"https://github.com/KissKissBankBank","followers_url":"https://api.github.com/users/KissKissBankBank/followers","following_url":"https://api.github.com/users/KissKissBankBank/following{/other_user}","gists_url":"https://api.github.com/users/KissKissBankBank/gists{/gist_id}","starred_url":"https://api.github.com/users/KissKissBankBank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KissKissBankBank/subscriptions","organizations_url":"https://api.github.com/users/KissKissBankBank/orgs","repos_url":"https://api.github.com/users/KissKissBankBank/repos","events_url":"https://api.github.com/users/KissKissBankBank/events{/privacy}","received_events_url":"https://api.github.com/users/KissKissBankBank/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KissKissBankBank/kitten","description":"Front-end components library","fork":false,"url":"https://api.github.com/repos/KissKissBankBank/kitten","forks_url":"https://api.github.com/repos/KissKissBankBank/kitten/forks","keys_url":"https://api.github.com/repos/KissKissBankBank/kitten/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KissKissBankBank/kitten/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KissKissBankBank/kitten/teams","hooks_url":"https://api.github.com/repos/KissKissBankBank/kitten/hooks","issue_events_url":"https://api.github.com/repos/KissKissBankBank/kitten/issues/events{/number}","events_url":"https://api.github.com/repos/KissKissBankBank/kitten/events","assignees_url":"https://api.github.com/repos/KissKissBankBank/kitten/assignees{/user}","branches_url":"https://api.github.com/repos/KissKissBankBank/kitten/branches{/branch}","tags_url":"https://api.github.com/repos/KissKissBankBank/kitten/tags","blobs_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/refs{/sha}","trees_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KissKissBankBank/kitten/statuses/{sha}","languages_url":"https://api.github.com/repos/KissKissBankBank/kitten/languages","stargazers_url":"https://api.github.com/repos/KissKissBankBank/kitten/stargazers","contributors_url":"https://api.github.com/repos/KissKissBankBank/kitten/contributors","subscribers_url":"https://api.github.com/repos/KissKissBankBank/kitten/subscribers","subscription_url":"https://api.github.com/repos/KissKissBankBank/kitten/subscription","commits_url":"https://api.github.com/repos/KissKissBankBank/kitten/commits{/sha}","git_commits_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/commits{/sha}","comments_url":"https://api.github.com/repos/KissKissBankBank/kitten/comments{/number}","issue_comment_url":"https://api.github.com/repos/KissKissBankBank/kitten/issues/comments{/number}","contents_url":"https://api.github.com/repos/KissKissBankBank/kitten/contents/{+path}","compare_url":"https://api.github.com/repos/KissKissBankBank/kitten/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KissKissBankBank/kitten/merges","archive_url":"https://api.github.com/repos/KissKissBankBank/kitten/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KissKissBankBank/kitten/downloads","issues_url":"https://api.github.com/repos/KissKissBankBank/kitten/issues{/number}","pulls_url":"https://api.github.com/repos/KissKissBankBank/kitten/pulls{/number}","milestones_url":"https://api.github.com/repos/KissKissBankBank/kitten/milestones{/number}","notifications_url":"https://api.github.com/repos/KissKissBankBank/kitten/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KissKissBankBank/kitten/labels{/name}","releases_url":"https://api.github.com/repos/KissKissBankBank/kitten/releases{/id}","deployments_url":"https://api.github.com/repos/KissKissBankBank/kitten/deployments","created_at":"2016-06-16T12:46:14Z","updated_at":"2017-03-16T17:10:30Z","pushed_at":"2017-03-21T15:04:46Z","git_url":"git://github.com/KissKissBankBank/kitten.git","ssh_url":"git@github.com:KissKissBankBank/kitten.git","clone_url":"https://github.com/KissKissBankBank/kitten.git","svn_url":"https://github.com/KissKissBankBank/kitten","homepage":"","size":1566,"stargazers_count":3,"watchers_count":3,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":55,"forks":0,"open_issues":55,"watchers":3,"default_branch":"master"}},"base":{"label":"KissKissBankBank:master","ref":"master","sha":"3455f69d5a53bfd3d80afb73b3d8c00bff7ff025","user":{"login":"KissKissBankBank","id":6039709,"avatar_url":"https://avatars2.githubusercontent.com/u/6039709?v=3","gravatar_id":"","url":"https://api.github.com/users/KissKissBankBank","html_url":"https://github.com/KissKissBankBank","followers_url":"https://api.github.com/users/KissKissBankBank/followers","following_url":"https://api.github.com/users/KissKissBankBank/following{/other_user}","gists_url":"https://api.github.com/users/KissKissBankBank/gists{/gist_id}","starred_url":"https://api.github.com/users/KissKissBankBank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KissKissBankBank/subscriptions","organizations_url":"https://api.github.com/users/KissKissBankBank/orgs","repos_url":"https://api.github.com/users/KissKissBankBank/repos","events_url":"https://api.github.com/users/KissKissBankBank/events{/privacy}","received_events_url":"https://api.github.com/users/KissKissBankBank/received_events","type":"Organization","site_admin":false},"repo":{"id":61292012,"name":"kitten","full_name":"KissKissBankBank/kitten","owner":{"login":"KissKissBankBank","id":6039709,"avatar_url":"https://avatars2.githubusercontent.com/u/6039709?v=3","gravatar_id":"","url":"https://api.github.com/users/KissKissBankBank","html_url":"https://github.com/KissKissBankBank","followers_url":"https://api.github.com/users/KissKissBankBank/followers","following_url":"https://api.github.com/users/KissKissBankBank/following{/other_user}","gists_url":"https://api.github.com/users/KissKissBankBank/gists{/gist_id}","starred_url":"https://api.github.com/users/KissKissBankBank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KissKissBankBank/subscriptions","organizations_url":"https://api.github.com/users/KissKissBankBank/orgs","repos_url":"https://api.github.com/users/KissKissBankBank/repos","events_url":"https://api.github.com/users/KissKissBankBank/events{/privacy}","received_events_url":"https://api.github.com/users/KissKissBankBank/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KissKissBankBank/kitten","description":"Front-end components library","fork":false,"url":"https://api.github.com/repos/KissKissBankBank/kitten","forks_url":"https://api.github.com/repos/KissKissBankBank/kitten/forks","keys_url":"https://api.github.com/repos/KissKissBankBank/kitten/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KissKissBankBank/kitten/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KissKissBankBank/kitten/teams","hooks_url":"https://api.github.com/repos/KissKissBankBank/kitten/hooks","issue_events_url":"https://api.github.com/repos/KissKissBankBank/kitten/issues/events{/number}","events_url":"https://api.github.com/repos/KissKissBankBank/kitten/events","assignees_url":"https://api.github.com/repos/KissKissBankBank/kitten/assignees{/user}","branches_url":"https://api.github.com/repos/KissKissBankBank/kitten/branches{/branch}","tags_url":"https://api.github.com/repos/KissKissBankBank/kitten/tags","blobs_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/refs{/sha}","trees_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KissKissBankBank/kitten/statuses/{sha}","languages_url":"https://api.github.com/repos/KissKissBankBank/kitten/languages","stargazers_url":"https://api.github.com/repos/KissKissBankBank/kitten/stargazers","contributors_url":"https://api.github.com/repos/KissKissBankBank/kitten/contributors","subscribers_url":"https://api.github.com/repos/KissKissBankBank/kitten/subscribers","subscription_url":"https://api.github.com/repos/KissKissBankBank/kitten/subscription","commits_url":"https://api.github.com/repos/KissKissBankBank/kitten/commits{/sha}","git_commits_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/commits{/sha}","comments_url":"https://api.github.com/repos/KissKissBankBank/kitten/comments{/number}","issue_comment_url":"https://api.github.com/repos/KissKissBankBank/kitten/issues/comments{/number}","contents_url":"https://api.github.com/repos/KissKissBankBank/kitten/contents/{+path}","compare_url":"https://api.github.com/repos/KissKissBankBank/kitten/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KissKissBankBank/kitten/merges","archive_url":"https://api.github.com/repos/KissKissBankBank/kitten/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KissKissBankBank/kitten/downloads","issues_url":"https://api.github.com/repos/KissKissBankBank/kitten/issues{/number}","pulls_url":"https://api.github.com/repos/KissKissBankBank/kitten/pulls{/number}","milestones_url":"https://api.github.com/repos/KissKissBankBank/kitten/milestones{/number}","notifications_url":"https://api.github.com/repos/KissKissBankBank/kitten/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KissKissBankBank/kitten/labels{/name}","releases_url":"https://api.github.com/repos/KissKissBankBank/kitten/releases{/id}","deployments_url":"https://api.github.com/repos/KissKissBankBank/kitten/deployments","created_at":"2016-06-16T12:46:14Z","updated_at":"2017-03-16T17:10:30Z","pushed_at":"2017-03-21T15:04:46Z","git_url":"git://github.com/KissKissBankBank/kitten.git","ssh_url":"git@github.com:KissKissBankBank/kitten.git","clone_url":"https://github.com/KissKissBankBank/kitten.git","svn_url":"https://github.com/KissKissBankBank/kitten","homepage":"","size":1566,"stargazers_count":3,"watchers_count":3,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":55,"forks":0,"open_issues":55,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/538"},"html":{"href":"https://github.com/KissKissBankBank/kitten/pull/538"},"issue":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/issues/538"},"comments":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/issues/538/comments"},"review_comments":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/538/comments"},"review_comment":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/538/commits"},"statuses":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/statuses/09e7dd2873e140028a61e18153315194b9607e70"}}}}
{"actor":{"display_login":"sunny"}}