{"action":"created","comment":{"url":"https://api.github.com/repos/rangle/angular-training-slides/pulls/comments/104788097","pull_request_review_id":25640324,"id":104788097,"diff_hunk":"@@ -4,11 +4,10 @@ import { By } from '@angular/platform-browser';\n import { AppComponent } from './app.component';\n \n describe('When testing the AppComponent', () => {\n-\n   describe('When calling the \"getMessage\" method', () => {\n \n     it('Should return the correct string', () => {\n-      const component = new AppComponent();\n+      const component = new AppComponent();` `","path":"solutions/unit-testing-component/src/app/app.component.spec.ts","position":null,"original_position":9,"commit_id":"07b498187334bd2ba9f7edf7817c59d38cc502fa","original_commit_id":"99fcee7825af7400780f1868a6906e49c63790a3","user":{"login":"ZhangMYihua","id":10578605,"avatar_url":"https://avatars2.githubusercontent.com/u/10578605?v=3","gravatar_id":"","url":"https://api.github.com/users/ZhangMYihua","html_url":"https://github.com/ZhangMYihua","followers_url":"https://api.github.com/users/ZhangMYihua/followers","following_url":"https://api.github.com/users/ZhangMYihua/following{/other_user}","gists_url":"https://api.github.com/users/ZhangMYihua/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhangMYihua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhangMYihua/subscriptions","organizations_url":"https://api.github.com/users/ZhangMYihua/orgs","repos_url":"https://api.github.com/users/ZhangMYihua/repos","events_url":"https://api.github.com/users/ZhangMYihua/events{/privacy}","received_events_url":"https://api.github.com/users/ZhangMYihua/received_events","type":"User","site_admin":false},"body":"Woops gotta remove those!","created_at":"2017-03-07T21:48:45Z","updated_at":"2017-03-07T21:48:45Z","html_url":"https://github.com/rangle/angular-training-slides/pull/174#discussion_r104788097","pull_request_url":"https://api.github.com/repos/rangle/angular-training-slides/pulls/174","_links":{"self":{"href":"https://api.github.com/repos/rangle/angular-training-slides/pulls/comments/104788097"},"html":{"href":"https://github.com/rangle/angular-training-slides/pull/174#discussion_r104788097"},"pull_request":{"href":"https://api.github.com/repos/rangle/angular-training-slides/pulls/174"}}},"pull_request":{"url":"https://api.github.com/repos/rangle/angular-training-slides/pulls/174","id":109288073,"html_url":"https://github.com/rangle/angular-training-slides/pull/174","diff_url":"https://github.com/rangle/angular-training-slides/pull/174.diff","patch_url":"https://github.com/rangle/angular-training-slides/pull/174.patch","issue_url":"https://api.github.com/repos/rangle/angular-training-slides/issues/174","number":174,"state":"open","locked":false,"title":"Refactor testing component solution","user":{"login":"ZhangMYihua","id":10578605,"avatar_url":"https://avatars2.githubusercontent.com/u/10578605?v=3","gravatar_id":"","url":"https://api.github.com/users/ZhangMYihua","html_url":"https://github.com/ZhangMYihua","followers_url":"https://api.github.com/users/ZhangMYihua/followers","following_url":"https://api.github.com/users/ZhangMYihua/following{/other_user}","gists_url":"https://api.github.com/users/ZhangMYihua/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhangMYihua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhangMYihua/subscriptions","organizations_url":"https://api.github.com/users/ZhangMYihua/orgs","repos_url":"https://api.github.com/users/ZhangMYihua/repos","events_url":"https://api.github.com/users/ZhangMYihua/events{/privacy}","received_events_url":"https://api.github.com/users/ZhangMYihua/received_events","type":"User","site_admin":false},"body":"- Updated testing-component to use new @angular/cli.\r\n- Updated solution to use methods taught in angular training slides.","created_at":"2017-03-06T15:54:41Z","updated_at":"2017-03-07T21:48:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"519d40f7550d9032b8eb6bcb5567126993891ea2","assignee":{"login":"ZhangMYihua","id":10578605,"avatar_url":"https://avatars2.githubusercontent.com/u/10578605?v=3","gravatar_id":"","url":"https://api.github.com/users/ZhangMYihua","html_url":"https://github.com/ZhangMYihua","followers_url":"https://api.github.com/users/ZhangMYihua/followers","following_url":"https://api.github.com/users/ZhangMYihua/following{/other_user}","gists_url":"https://api.github.com/users/ZhangMYihua/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhangMYihua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhangMYihua/subscriptions","organizations_url":"https://api.github.com/users/ZhangMYihua/orgs","repos_url":"https://api.github.com/users/ZhangMYihua/repos","events_url":"https://api.github.com/users/ZhangMYihua/events{/privacy}","received_events_url":"https://api.github.com/users/ZhangMYihua/received_events","type":"User","site_admin":false},"assignees":[{"login":"ZhangMYihua","id":10578605,"avatar_url":"https://avatars2.githubusercontent.com/u/10578605?v=3","gravatar_id":"","url":"https://api.github.com/users/ZhangMYihua","html_url":"https://github.com/ZhangMYihua","followers_url":"https://api.github.com/users/ZhangMYihua/followers","following_url":"https://api.github.com/users/ZhangMYihua/following{/other_user}","gists_url":"https://api.github.com/users/ZhangMYihua/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhangMYihua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhangMYihua/subscriptions","organizations_url":"https://api.github.com/users/ZhangMYihua/orgs","repos_url":"https://api.github.com/users/ZhangMYihua/repos","events_url":"https://api.github.com/users/ZhangMYihua/events{/privacy}","received_events_url":"https://api.github.com/users/ZhangMYihua/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/rangle/angular-training-slides/pulls/174/commits","review_comments_url":"https://api.github.com/repos/rangle/angular-training-slides/pulls/174/comments","review_comment_url":"https://api.github.com/repos/rangle/angular-training-slides/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rangle/angular-training-slides/issues/174/comments","statuses_url":"https://api.github.com/repos/rangle/angular-training-slides/statuses/07b498187334bd2ba9f7edf7817c59d38cc502fa","head":{"label":"ZhangMYihua:refactor-testing-component-solution","ref":"refactor-testing-component-solution","sha":"07b498187334bd2ba9f7edf7817c59d38cc502fa","user":{"login":"ZhangMYihua","id":10578605,"avatar_url":"https://avatars2.githubusercontent.com/u/10578605?v=3","gravatar_id":"","url":"https://api.github.com/users/ZhangMYihua","html_url":"https://github.com/ZhangMYihua","followers_url":"https://api.github.com/users/ZhangMYihua/followers","following_url":"https://api.github.com/users/ZhangMYihua/following{/other_user}","gists_url":"https://api.github.com/users/ZhangMYihua/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhangMYihua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhangMYihua/subscriptions","organizations_url":"https://api.github.com/users/ZhangMYihua/orgs","repos_url":"https://api.github.com/users/ZhangMYihua/repos","events_url":"https://api.github.com/users/ZhangMYihua/events{/privacy}","received_events_url":"https://api.github.com/users/ZhangMYihua/received_events","type":"User","site_admin":false},"repo":{"id":83690757,"name":"angular-training-slides","full_name":"ZhangMYihua/angular-training-slides","owner":{"login":"ZhangMYihua","id":10578605,"avatar_url":"https://avatars2.githubusercontent.com/u/10578605?v=3","gravatar_id":"","url":"https://api.github.com/users/ZhangMYihua","html_url":"https://github.com/ZhangMYihua","followers_url":"https://api.github.com/users/ZhangMYihua/followers","following_url":"https://api.github.com/users/ZhangMYihua/following{/other_user}","gists_url":"https://api.github.com/users/ZhangMYihua/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhangMYihua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhangMYihua/subscriptions","organizations_url":"https://api.github.com/users/ZhangMYihua/orgs","repos_url":"https://api.github.com/users/ZhangMYihua/repos","events_url":"https://api.github.com/users/ZhangMYihua/events{/privacy}","received_events_url":"https://api.github.com/users/ZhangMYihua/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ZhangMYihua/angular-training-slides","description":"Slides for the Angular 2 training","fork":true,"url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides","forks_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/forks","keys_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/teams","hooks_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/hooks","issue_events_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/issues/events{/number}","events_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/events","assignees_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/assignees{/user}","branches_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/branches{/branch}","tags_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/tags","blobs_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/statuses/{sha}","languages_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/languages","stargazers_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/stargazers","contributors_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/contributors","subscribers_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/subscribers","subscription_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/subscription","commits_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/contents/{+path}","compare_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/merges","archive_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/downloads","issues_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/issues{/number}","pulls_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/pulls{/number}","milestones_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/milestones{/number}","notifications_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/labels{/name}","releases_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/releases{/id}","deployments_url":"https://api.github.com/repos/ZhangMYihua/angular-training-slides/deployments","created_at":"2017-03-02T15:05:04Z","updated_at":"2017-03-02T15:05:06Z","pushed_at":"2017-03-07T21:48:11Z","git_url":"git://github.com/ZhangMYihua/angular-training-slides.git","ssh_url":"git@github.com:ZhangMYihua/angular-training-slides.git","clone_url":"https://github.com/ZhangMYihua/angular-training-slides.git","svn_url":"https://github.com/ZhangMYihua/angular-training-slides","homepage":null,"size":6951,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rangle:master","ref":"master","sha":"3d3936d6b6779e0239b7cb72dcbc773899c71135","user":{"login":"rangle","id":4304982,"avatar_url":"https://avatars1.githubusercontent.com/u/4304982?v=3","gravatar_id":"","url":"https://api.github.com/users/rangle","html_url":"https://github.com/rangle","followers_url":"https://api.github.com/users/rangle/followers","following_url":"https://api.github.com/users/rangle/following{/other_user}","gists_url":"https://api.github.com/users/rangle/gists{/gist_id}","starred_url":"https://api.github.com/users/rangle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rangle/subscriptions","organizations_url":"https://api.github.com/users/rangle/orgs","repos_url":"https://api.github.com/users/rangle/repos","events_url":"https://api.github.com/users/rangle/events{/privacy}","received_events_url":"https://api.github.com/users/rangle/received_events","type":"Organization","site_admin":false},"repo":{"id":70181456,"name":"angular-training-slides","full_name":"rangle/angular-training-slides","owner":{"login":"rangle","id":4304982,"avatar_url":"https://avatars1.githubusercontent.com/u/4304982?v=3","gravatar_id":"","url":"https://api.github.com/users/rangle","html_url":"https://github.com/rangle","followers_url":"https://api.github.com/users/rangle/followers","following_url":"https://api.github.com/users/rangle/following{/other_user}","gists_url":"https://api.github.com/users/rangle/gists{/gist_id}","starred_url":"https://api.github.com/users/rangle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rangle/subscriptions","organizations_url":"https://api.github.com/users/rangle/orgs","repos_url":"https://api.github.com/users/rangle/repos","events_url":"https://api.github.com/users/rangle/events{/privacy}","received_events_url":"https://api.github.com/users/rangle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rangle/angular-training-slides","description":"Slides for the Angular 2 training","fork":false,"url":"https://api.github.com/repos/rangle/angular-training-slides","forks_url":"https://api.github.com/repos/rangle/angular-training-slides/forks","keys_url":"https://api.github.com/repos/rangle/angular-training-slides/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rangle/angular-training-slides/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rangle/angular-training-slides/teams","hooks_url":"https://api.github.com/repos/rangle/angular-training-slides/hooks","issue_events_url":"https://api.github.com/repos/rangle/angular-training-slides/issues/events{/number}","events_url":"https://api.github.com/repos/rangle/angular-training-slides/events","assignees_url":"https://api.github.com/repos/rangle/angular-training-slides/assignees{/user}","branches_url":"https://api.github.com/repos/rangle/angular-training-slides/branches{/branch}","tags_url":"https://api.github.com/repos/rangle/angular-training-slides/tags","blobs_url":"https://api.github.com/repos/rangle/angular-training-slides/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rangle/angular-training-slides/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rangle/angular-training-slides/git/refs{/sha}","trees_url":"https://api.github.com/repos/rangle/angular-training-slides/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rangle/angular-training-slides/statuses/{sha}","languages_url":"https://api.github.com/repos/rangle/angular-training-slides/languages","stargazers_url":"https://api.github.com/repos/rangle/angular-training-slides/stargazers","contributors_url":"https://api.github.com/repos/rangle/angular-training-slides/contributors","subscribers_url":"https://api.github.com/repos/rangle/angular-training-slides/subscribers","subscription_url":"https://api.github.com/repos/rangle/angular-training-slides/subscription","commits_url":"https://api.github.com/repos/rangle/angular-training-slides/commits{/sha}","git_commits_url":"https://api.github.com/repos/rangle/angular-training-slides/git/commits{/sha}","comments_url":"https://api.github.com/repos/rangle/angular-training-slides/comments{/number}","issue_comment_url":"https://api.github.com/repos/rangle/angular-training-slides/issues/comments{/number}","contents_url":"https://api.github.com/repos/rangle/angular-training-slides/contents/{+path}","compare_url":"https://api.github.com/repos/rangle/angular-training-slides/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rangle/angular-training-slides/merges","archive_url":"https://api.github.com/repos/rangle/angular-training-slides/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rangle/angular-training-slides/downloads","issues_url":"https://api.github.com/repos/rangle/angular-training-slides/issues{/number}","pulls_url":"https://api.github.com/repos/rangle/angular-training-slides/pulls{/number}","milestones_url":"https://api.github.com/repos/rangle/angular-training-slides/milestones{/number}","notifications_url":"https://api.github.com/repos/rangle/angular-training-slides/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rangle/angular-training-slides/labels{/name}","releases_url":"https://api.github.com/repos/rangle/angular-training-slides/releases{/id}","deployments_url":"https://api.github.com/repos/rangle/angular-training-slides/deployments","created_at":"2016-10-06T18:28:45Z","updated_at":"2017-03-07T20:00:10Z","pushed_at":"2017-03-07T21:48:13Z","git_url":"git://github.com/rangle/angular-training-slides.git","ssh_url":"git@github.com:rangle/angular-training-slides.git","clone_url":"https://github.com/rangle/angular-training-slides.git","svn_url":"https://github.com/rangle/angular-training-slides","homepage":null,"size":6956,"stargazers_count":6,"watchers_count":6,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":17,"forks":17,"open_issues":17,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rangle/angular-training-slides/pulls/174"},"html":{"href":"https://github.com/rangle/angular-training-slides/pull/174"},"issue":{"href":"https://api.github.com/repos/rangle/angular-training-slides/issues/174"},"comments":{"href":"https://api.github.com/repos/rangle/angular-training-slides/issues/174/comments"},"review_comments":{"href":"https://api.github.com/repos/rangle/angular-training-slides/pulls/174/comments"},"review_comment":{"href":"https://api.github.com/repos/rangle/angular-training-slides/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rangle/angular-training-slides/pulls/174/commits"},"statuses":{"href":"https://api.github.com/repos/rangle/angular-training-slides/statuses/07b498187334bd2ba9f7edf7817c59d38cc502fa"}}}}
{"actor":{"display_login":"ZhangMYihua"}}