{"action":"created","comment":{"url":"https://api.github.com/repos/stenver/interactive_frontend_development/pulls/comments/58134622","id":58134622,"diff_hunk":"@@ -0,0 +1,44 @@\n+'use strict';\n+\n+import React from 'react';\n+import ReactDOM from 'react-dom';\n+import TestUtils from 'react-addons-test-utils';\n+import CommentBoxContainer from '../components/CommentBoxContainer';\n+\n+describe('CommentBoxContainer', () => {\n+  var buildCommentBoxContainer = (() => {\n+    return TestUtils.renderIntoDocument(\n+      <CommentBoxContainer />\n+    );\n+  });\n+\n+  it('loads the inital comments from the server', () => {\n+    let commentBoxContainer = buildCommentBoxContainer();\n+\n+    let comments = commentBoxContainer.state.comments;\n+    expect(comments).to.have.lengthOf(1);\n+    expect(comments[0]).to.have.property('author', 'Sukram');\n+    expect(comments[0]).to.have.property('text', 'This is niss thing');\n+  });\n+\n+  it('loads the inital comments from the server', () => {","path":"lecture_3/mocha_testing_example/test/CommentBoxContainer-test.js","position":24,"original_position":24,"commit_id":"44fe0cad524949d6a8fc68ad338f6f135f52487c","original_commit_id":"44fe0cad524949d6a8fc68ad338f6f135f52487c","user":{"login":"urmastalimaa","id":5654666,"avatar_url":"https://avatars.githubusercontent.com/u/5654666?v=3","gravatar_id":"","url":"https://api.github.com/users/urmastalimaa","html_url":"https://github.com/urmastalimaa","followers_url":"https://api.github.com/users/urmastalimaa/followers","following_url":"https://api.github.com/users/urmastalimaa/following{/other_user}","gists_url":"https://api.github.com/users/urmastalimaa/gists{/gist_id}","starred_url":"https://api.github.com/users/urmastalimaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urmastalimaa/subscriptions","organizations_url":"https://api.github.com/users/urmastalimaa/orgs","repos_url":"https://api.github.com/users/urmastalimaa/repos","events_url":"https://api.github.com/users/urmastalimaa/events{/privacy}","received_events_url":"https://api.github.com/users/urmastalimaa/received_events","type":"User","site_admin":false},"body":"`inital` -> `initial`","created_at":"2016-03-31T21:56:06Z","updated_at":"2016-03-31T21:56:06Z","html_url":"https://github.com/stenver/interactive_frontend_development/pull/7#discussion_r58134622","pull_request_url":"https://api.github.com/repos/stenver/interactive_frontend_development/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/stenver/interactive_frontend_development/pulls/comments/58134622"},"html":{"href":"https://github.com/stenver/interactive_frontend_development/pull/7#discussion_r58134622"},"pull_request":{"href":"https://api.github.com/repos/stenver/interactive_frontend_development/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/stenver/interactive_frontend_development/pulls/7","id":64861703,"html_url":"https://github.com/stenver/interactive_frontend_development/pull/7","diff_url":"https://github.com/stenver/interactive_frontend_development/pull/7.diff","patch_url":"https://github.com/stenver/interactive_frontend_development/pull/7.patch","issue_url":"https://api.github.com/repos/stenver/interactive_frontend_development/issues/7","number":7,"state":"open","locked":false,"title":"Add comment box container test","user":{"login":"stenver","id":4389843,"avatar_url":"https://avatars.githubusercontent.com/u/4389843?v=3","gravatar_id":"","url":"https://api.github.com/users/stenver","html_url":"https://github.com/stenver","followers_url":"https://api.github.com/users/stenver/followers","following_url":"https://api.github.com/users/stenver/following{/other_user}","gists_url":"https://api.github.com/users/stenver/gists{/gist_id}","starred_url":"https://api.github.com/users/stenver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stenver/subscriptions","organizations_url":"https://api.github.com/users/stenver/orgs","repos_url":"https://api.github.com/users/stenver/repos","events_url":"https://api.github.com/users/stenver/events{/privacy}","received_events_url":"https://api.github.com/users/stenver/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-31T21:26:46Z","updated_at":"2016-03-31T21:56:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4948b22d0eba3e3bb4ce8ba593259517dfb9929e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/stenver/interactive_frontend_development/pulls/7/commits","review_comments_url":"https://api.github.com/repos/stenver/interactive_frontend_development/pulls/7/comments","review_comment_url":"https://api.github.com/repos/stenver/interactive_frontend_development/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stenver/interactive_frontend_development/issues/7/comments","statuses_url":"https://api.github.com/repos/stenver/interactive_frontend_development/statuses/44fe0cad524949d6a8fc68ad338f6f135f52487c","head":{"label":"stenver:add_comment_box_container_test","ref":"add_comment_box_container_test","sha":"44fe0cad524949d6a8fc68ad338f6f135f52487c","user":{"login":"stenver","id":4389843,"avatar_url":"https://avatars.githubusercontent.com/u/4389843?v=3","gravatar_id":"","url":"https://api.github.com/users/stenver","html_url":"https://github.com/stenver","followers_url":"https://api.github.com/users/stenver/followers","following_url":"https://api.github.com/users/stenver/following{/other_user}","gists_url":"https://api.github.com/users/stenver/gists{/gist_id}","starred_url":"https://api.github.com/users/stenver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stenver/subscriptions","organizations_url":"https://api.github.com/users/stenver/orgs","repos_url":"https://api.github.com/users/stenver/repos","events_url":"https://api.github.com/users/stenver/events{/privacy}","received_events_url":"https://api.github.com/users/stenver/received_events","type":"User","site_admin":false},"repo":{"id":53517635,"name":"interactive_frontend_development","full_name":"stenver/interactive_frontend_development","owner":{"login":"stenver","id":4389843,"avatar_url":"https://avatars.githubusercontent.com/u/4389843?v=3","gravatar_id":"","url":"https://api.github.com/users/stenver","html_url":"https://github.com/stenver","followers_url":"https://api.github.com/users/stenver/followers","following_url":"https://api.github.com/users/stenver/following{/other_user}","gists_url":"https://api.github.com/users/stenver/gists{/gist_id}","starred_url":"https://api.github.com/users/stenver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stenver/subscriptions","organizations_url":"https://api.github.com/users/stenver/orgs","repos_url":"https://api.github.com/users/stenver/repos","events_url":"https://api.github.com/users/stenver/events{/privacy}","received_events_url":"https://api.github.com/users/stenver/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stenver/interactive_frontend_development","description":"","fork":false,"url":"https://api.github.com/repos/stenver/interactive_frontend_development","forks_url":"https://api.github.com/repos/stenver/interactive_frontend_development/forks","keys_url":"https://api.github.com/repos/stenver/interactive_frontend_development/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stenver/interactive_frontend_development/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stenver/interactive_frontend_development/teams","hooks_url":"https://api.github.com/repos/stenver/interactive_frontend_development/hooks","issue_events_url":"https://api.github.com/repos/stenver/interactive_frontend_development/issues/events{/number}","events_url":"https://api.github.com/repos/stenver/interactive_frontend_development/events","assignees_url":"https://api.github.com/repos/stenver/interactive_frontend_development/assignees{/user}","branches_url":"https://api.github.com/repos/stenver/interactive_frontend_development/branches{/branch}","tags_url":"https://api.github.com/repos/stenver/interactive_frontend_development/tags","blobs_url":"https://api.github.com/repos/stenver/interactive_frontend_development/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stenver/interactive_frontend_development/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stenver/interactive_frontend_development/git/refs{/sha}","trees_url":"https://api.github.com/repos/stenver/interactive_frontend_development/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stenver/interactive_frontend_development/statuses/{sha}","languages_url":"https://api.github.com/repos/stenver/interactive_frontend_development/languages","stargazers_url":"https://api.github.com/repos/stenver/interactive_frontend_development/stargazers","contributors_url":"https://api.github.com/repos/stenver/interactive_frontend_development/contributors","subscribers_url":"https://api.github.com/repos/stenver/interactive_frontend_development/subscribers","subscription_url":"https://api.github.com/repos/stenver/interactive_frontend_development/subscription","commits_url":"https://api.github.com/repos/stenver/interactive_frontend_development/commits{/sha}","git_commits_url":"https://api.github.com/repos/stenver/interactive_frontend_development/git/commits{/sha}","comments_url":"https://api.github.com/repos/stenver/interactive_frontend_development/comments{/number}","issue_comment_url":"https://api.github.com/repos/stenver/interactive_frontend_development/issues/comments{/number}","contents_url":"https://api.github.com/repos/stenver/interactive_frontend_development/contents/{+path}","compare_url":"https://api.github.com/repos/stenver/interactive_frontend_development/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stenver/interactive_frontend_development/merges","archive_url":"https://api.github.com/repos/stenver/interactive_frontend_development/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stenver/interactive_frontend_development/downloads","issues_url":"https://api.github.com/repos/stenver/interactive_frontend_development/issues{/number}","pulls_url":"https://api.github.com/repos/stenver/interactive_frontend_development/pulls{/number}","milestones_url":"https://api.github.com/repos/stenver/interactive_frontend_development/milestones{/number}","notifications_url":"https://api.github.com/repos/stenver/interactive_frontend_development/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stenver/interactive_frontend_development/labels{/name}","releases_url":"https://api.github.com/repos/stenver/interactive_frontend_development/releases{/id}","deployments_url":"https://api.github.com/repos/stenver/interactive_frontend_development/deployments","created_at":"2016-03-09T17:32:35Z","updated_at":"2016-03-16T20:17:57Z","pushed_at":"2016-03-31T21:55:33Z","git_url":"git://github.com/stenver/interactive_frontend_development.git","ssh_url":"git@github.com:stenver/interactive_frontend_development.git","clone_url":"https://github.com/stenver/interactive_frontend_development.git","svn_url":"https://github.com/stenver/interactive_frontend_development","homepage":null,"size":84,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"stenver:master","ref":"master","sha":"849226f6d2b425b0fd75e0ffe907ce991e5cf661","user":{"login":"stenver","id":4389843,"avatar_url":"https://avatars.githubusercontent.com/u/4389843?v=3","gravatar_id":"","url":"https://api.github.com/users/stenver","html_url":"https://github.com/stenver","followers_url":"https://api.github.com/users/stenver/followers","following_url":"https://api.github.com/users/stenver/following{/other_user}","gists_url":"https://api.github.com/users/stenver/gists{/gist_id}","starred_url":"https://api.github.com/users/stenver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stenver/subscriptions","organizations_url":"https://api.github.com/users/stenver/orgs","repos_url":"https://api.github.com/users/stenver/repos","events_url":"https://api.github.com/users/stenver/events{/privacy}","received_events_url":"https://api.github.com/users/stenver/received_events","type":"User","site_admin":false},"repo":{"id":53517635,"name":"interactive_frontend_development","full_name":"stenver/interactive_frontend_development","owner":{"login":"stenver","id":4389843,"avatar_url":"https://avatars.githubusercontent.com/u/4389843?v=3","gravatar_id":"","url":"https://api.github.com/users/stenver","html_url":"https://github.com/stenver","followers_url":"https://api.github.com/users/stenver/followers","following_url":"https://api.github.com/users/stenver/following{/other_user}","gists_url":"https://api.github.com/users/stenver/gists{/gist_id}","starred_url":"https://api.github.com/users/stenver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stenver/subscriptions","organizations_url":"https://api.github.com/users/stenver/orgs","repos_url":"https://api.github.com/users/stenver/repos","events_url":"https://api.github.com/users/stenver/events{/privacy}","received_events_url":"https://api.github.com/users/stenver/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stenver/interactive_frontend_development","description":"","fork":false,"url":"https://api.github.com/repos/stenver/interactive_frontend_development","forks_url":"https://api.github.com/repos/stenver/interactive_frontend_development/forks","keys_url":"https://api.github.com/repos/stenver/interactive_frontend_development/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stenver/interactive_frontend_development/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stenver/interactive_frontend_development/teams","hooks_url":"https://api.github.com/repos/stenver/interactive_frontend_development/hooks","issue_events_url":"https://api.github.com/repos/stenver/interactive_frontend_development/issues/events{/number}","events_url":"https://api.github.com/repos/stenver/interactive_frontend_development/events","assignees_url":"https://api.github.com/repos/stenver/interactive_frontend_development/assignees{/user}","branches_url":"https://api.github.com/repos/stenver/interactive_frontend_development/branches{/branch}","tags_url":"https://api.github.com/repos/stenver/interactive_frontend_development/tags","blobs_url":"https://api.github.com/repos/stenver/interactive_frontend_development/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stenver/interactive_frontend_development/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stenver/interactive_frontend_development/git/refs{/sha}","trees_url":"https://api.github.com/repos/stenver/interactive_frontend_development/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stenver/interactive_frontend_development/statuses/{sha}","languages_url":"https://api.github.com/repos/stenver/interactive_frontend_development/languages","stargazers_url":"https://api.github.com/repos/stenver/interactive_frontend_development/stargazers","contributors_url":"https://api.github.com/repos/stenver/interactive_frontend_development/contributors","subscribers_url":"https://api.github.com/repos/stenver/interactive_frontend_development/subscribers","subscription_url":"https://api.github.com/repos/stenver/interactive_frontend_development/subscription","commits_url":"https://api.github.com/repos/stenver/interactive_frontend_development/commits{/sha}","git_commits_url":"https://api.github.com/repos/stenver/interactive_frontend_development/git/commits{/sha}","comments_url":"https://api.github.com/repos/stenver/interactive_frontend_development/comments{/number}","issue_comment_url":"https://api.github.com/repos/stenver/interactive_frontend_development/issues/comments{/number}","contents_url":"https://api.github.com/repos/stenver/interactive_frontend_development/contents/{+path}","compare_url":"https://api.github.com/repos/stenver/interactive_frontend_development/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stenver/interactive_frontend_development/merges","archive_url":"https://api.github.com/repos/stenver/interactive_frontend_development/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stenver/interactive_frontend_development/downloads","issues_url":"https://api.github.com/repos/stenver/interactive_frontend_development/issues{/number}","pulls_url":"https://api.github.com/repos/stenver/interactive_frontend_development/pulls{/number}","milestones_url":"https://api.github.com/repos/stenver/interactive_frontend_development/milestones{/number}","notifications_url":"https://api.github.com/repos/stenver/interactive_frontend_development/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stenver/interactive_frontend_development/labels{/name}","releases_url":"https://api.github.com/repos/stenver/interactive_frontend_development/releases{/id}","deployments_url":"https://api.github.com/repos/stenver/interactive_frontend_development/deployments","created_at":"2016-03-09T17:32:35Z","updated_at":"2016-03-16T20:17:57Z","pushed_at":"2016-03-31T21:55:33Z","git_url":"git://github.com/stenver/interactive_frontend_development.git","ssh_url":"git@github.com:stenver/interactive_frontend_development.git","clone_url":"https://github.com/stenver/interactive_frontend_development.git","svn_url":"https://github.com/stenver/interactive_frontend_development","homepage":null,"size":84,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stenver/interactive_frontend_development/pulls/7"},"html":{"href":"https://github.com/stenver/interactive_frontend_development/pull/7"},"issue":{"href":"https://api.github.com/repos/stenver/interactive_frontend_development/issues/7"},"comments":{"href":"https://api.github.com/repos/stenver/interactive_frontend_development/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/stenver/interactive_frontend_development/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/stenver/interactive_frontend_development/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stenver/interactive_frontend_development/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/stenver/interactive_frontend_development/statuses/44fe0cad524949d6a8fc68ad338f6f135f52487c"}}}}