{"action":"created","comment":{"url":"https://api.github.com/repos/superNazo/video_quiz/pulls/comments/60120435","id":60120435,"diff_hunk":"@@ -72,10 +72,22 @@ describe(\"newQuizCtrl\", function() {\n \n describe(\"indexQuizCtrl\", function(){\n   beforeEach(module(\"videoQuiz\"));\n-  var $controller;\n+  var $controller, Quiz;\n+\n+  $scope = {};\n+  Quiz = {\n+    delete: function() {},\n+  };\n \n   beforeEach(inject(function(_$controller_){\n     $controller = _$controller_;\n+\n+    $controller('indexQuizCtrl', {\n+      $scope: $scope,\n+      Quiz: Quiz\n+    });\n+\n+    $scope.quiz = {};","path":"spec/javascripts/angularjs_app/quizzes_controller_spec.js","position":20,"original_position":20,"commit_id":"d116aed53d9015ce6a7bcd5d983d4ec31c3f28ae","original_commit_id":"d116aed53d9015ce6a7bcd5d983d4ec31c3f28ae","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'$scope' is not defined.","created_at":"2016-04-18T19:35:39Z","updated_at":"2016-04-18T19:35:39Z","html_url":"https://github.com/superNazo/video_quiz/pull/48#discussion_r60120435","pull_request_url":"https://api.github.com/repos/superNazo/video_quiz/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/superNazo/video_quiz/pulls/comments/60120435"},"html":{"href":"https://github.com/superNazo/video_quiz/pull/48#discussion_r60120435"},"pull_request":{"href":"https://api.github.com/repos/superNazo/video_quiz/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/superNazo/video_quiz/pulls/48","id":66908978,"html_url":"https://github.com/superNazo/video_quiz/pull/48","diff_url":"https://github.com/superNazo/video_quiz/pull/48.diff","patch_url":"https://github.com/superNazo/video_quiz/pull/48.patch","issue_url":"https://api.github.com/repos/superNazo/video_quiz/issues/48","number":48,"state":"open","locked":false,"title":"Feature/quizzes delete with AngularJS","user":{"login":"anatoliiibrahimov","id":17433523,"avatar_url":"https://avatars.githubusercontent.com/u/17433523?v=3","gravatar_id":"","url":"https://api.github.com/users/anatoliiibrahimov","html_url":"https://github.com/anatoliiibrahimov","followers_url":"https://api.github.com/users/anatoliiibrahimov/followers","following_url":"https://api.github.com/users/anatoliiibrahimov/following{/other_user}","gists_url":"https://api.github.com/users/anatoliiibrahimov/gists{/gist_id}","starred_url":"https://api.github.com/users/anatoliiibrahimov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anatoliiibrahimov/subscriptions","organizations_url":"https://api.github.com/users/anatoliiibrahimov/orgs","repos_url":"https://api.github.com/users/anatoliiibrahimov/repos","events_url":"https://api.github.com/users/anatoliiibrahimov/events{/privacy}","received_events_url":"https://api.github.com/users/anatoliiibrahimov/received_events","type":"User","site_admin":false},"body":"[Link to JIRA ticket](https://ssu-jira.softserveinc.com/browse/LR-183)\r\n\r\n### Author.\r\n\r\n- [x] I have added link to this PR to the JIRA\r\n- [x] I have logged time in JIRA.\r\n\r\n### Reviewers.\r\n\r\n- [ ] @sergiy17 \r\n- [ ] @brouhaha88 \r\n- [ ] @vovka\r\n\r\n### Issue summary.\r\n\r\nReworked delete with AngularJS\r\n\r\n### Fix summary. \r\n\r\nReworked delete with AngularJS\r\n\r\n### Testing approach.\r\n\r\nAdded test for delete Quiz.\r\n\r\n","created_at":"2016-04-18T19:35:33Z","updated_at":"2016-04-18T19:35:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b7634c237dbf5bb910766a37c64a2e515cda9bfc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/superNazo/video_quiz/pulls/48/commits","review_comments_url":"https://api.github.com/repos/superNazo/video_quiz/pulls/48/comments","review_comment_url":"https://api.github.com/repos/superNazo/video_quiz/pulls/comments{/number}","comments_url":"https://api.github.com/repos/superNazo/video_quiz/issues/48/comments","statuses_url":"https://api.github.com/repos/superNazo/video_quiz/statuses/d116aed53d9015ce6a7bcd5d983d4ec31c3f28ae","head":{"label":"superNazo:feature/reworked_destroy_with_angularjs","ref":"feature/reworked_destroy_with_angularjs","sha":"d116aed53d9015ce6a7bcd5d983d4ec31c3f28ae","user":{"login":"superNazo","id":16664775,"avatar_url":"https://avatars.githubusercontent.com/u/16664775?v=3","gravatar_id":"","url":"https://api.github.com/users/superNazo","html_url":"https://github.com/superNazo","followers_url":"https://api.github.com/users/superNazo/followers","following_url":"https://api.github.com/users/superNazo/following{/other_user}","gists_url":"https://api.github.com/users/superNazo/gists{/gist_id}","starred_url":"https://api.github.com/users/superNazo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superNazo/subscriptions","organizations_url":"https://api.github.com/users/superNazo/orgs","repos_url":"https://api.github.com/users/superNazo/repos","events_url":"https://api.github.com/users/superNazo/events{/privacy}","received_events_url":"https://api.github.com/users/superNazo/received_events","type":"User","site_admin":false},"repo":{"id":53331596,"name":"video_quiz","full_name":"superNazo/video_quiz","owner":{"login":"superNazo","id":16664775,"avatar_url":"https://avatars.githubusercontent.com/u/16664775?v=3","gravatar_id":"","url":"https://api.github.com/users/superNazo","html_url":"https://github.com/superNazo","followers_url":"https://api.github.com/users/superNazo/followers","following_url":"https://api.github.com/users/superNazo/following{/other_user}","gists_url":"https://api.github.com/users/superNazo/gists{/gist_id}","starred_url":"https://api.github.com/users/superNazo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superNazo/subscriptions","organizations_url":"https://api.github.com/users/superNazo/orgs","repos_url":"https://api.github.com/users/superNazo/repos","events_url":"https://api.github.com/users/superNazo/events{/privacy}","received_events_url":"https://api.github.com/users/superNazo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/superNazo/video_quiz","description":"","fork":false,"url":"https://api.github.com/repos/superNazo/video_quiz","forks_url":"https://api.github.com/repos/superNazo/video_quiz/forks","keys_url":"https://api.github.com/repos/superNazo/video_quiz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/superNazo/video_quiz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/superNazo/video_quiz/teams","hooks_url":"https://api.github.com/repos/superNazo/video_quiz/hooks","issue_events_url":"https://api.github.com/repos/superNazo/video_quiz/issues/events{/number}","events_url":"https://api.github.com/repos/superNazo/video_quiz/events","assignees_url":"https://api.github.com/repos/superNazo/video_quiz/assignees{/user}","branches_url":"https://api.github.com/repos/superNazo/video_quiz/branches{/branch}","tags_url":"https://api.github.com/repos/superNazo/video_quiz/tags","blobs_url":"https://api.github.com/repos/superNazo/video_quiz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/superNazo/video_quiz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/superNazo/video_quiz/git/refs{/sha}","trees_url":"https://api.github.com/repos/superNazo/video_quiz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/superNazo/video_quiz/statuses/{sha}","languages_url":"https://api.github.com/repos/superNazo/video_quiz/languages","stargazers_url":"https://api.github.com/repos/superNazo/video_quiz/stargazers","contributors_url":"https://api.github.com/repos/superNazo/video_quiz/contributors","subscribers_url":"https://api.github.com/repos/superNazo/video_quiz/subscribers","subscription_url":"https://api.github.com/repos/superNazo/video_quiz/subscription","commits_url":"https://api.github.com/repos/superNazo/video_quiz/commits{/sha}","git_commits_url":"https://api.github.com/repos/superNazo/video_quiz/git/commits{/sha}","comments_url":"https://api.github.com/repos/superNazo/video_quiz/comments{/number}","issue_comment_url":"https://api.github.com/repos/superNazo/video_quiz/issues/comments{/number}","contents_url":"https://api.github.com/repos/superNazo/video_quiz/contents/{+path}","compare_url":"https://api.github.com/repos/superNazo/video_quiz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/superNazo/video_quiz/merges","archive_url":"https://api.github.com/repos/superNazo/video_quiz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/superNazo/video_quiz/downloads","issues_url":"https://api.github.com/repos/superNazo/video_quiz/issues{/number}","pulls_url":"https://api.github.com/repos/superNazo/video_quiz/pulls{/number}","milestones_url":"https://api.github.com/repos/superNazo/video_quiz/milestones{/number}","notifications_url":"https://api.github.com/repos/superNazo/video_quiz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/superNazo/video_quiz/labels{/name}","releases_url":"https://api.github.com/repos/superNazo/video_quiz/releases{/id}","deployments_url":"https://api.github.com/repos/superNazo/video_quiz/deployments","created_at":"2016-03-07T14:28:19Z","updated_at":"2016-03-20T16:06:51Z","pushed_at":"2016-04-18T19:35:33Z","git_url":"git://github.com/superNazo/video_quiz.git","ssh_url":"git@github.com:superNazo/video_quiz.git","clone_url":"https://github.com/superNazo/video_quiz.git","svn_url":"https://github.com/superNazo/video_quiz","homepage":null,"size":241,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":1,"default_branch":"master"}},"base":{"label":"superNazo:master","ref":"master","sha":"a702b13fc8dc22d9004457a2b67cc953b1d9bd42","user":{"login":"superNazo","id":16664775,"avatar_url":"https://avatars.githubusercontent.com/u/16664775?v=3","gravatar_id":"","url":"https://api.github.com/users/superNazo","html_url":"https://github.com/superNazo","followers_url":"https://api.github.com/users/superNazo/followers","following_url":"https://api.github.com/users/superNazo/following{/other_user}","gists_url":"https://api.github.com/users/superNazo/gists{/gist_id}","starred_url":"https://api.github.com/users/superNazo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superNazo/subscriptions","organizations_url":"https://api.github.com/users/superNazo/orgs","repos_url":"https://api.github.com/users/superNazo/repos","events_url":"https://api.github.com/users/superNazo/events{/privacy}","received_events_url":"https://api.github.com/users/superNazo/received_events","type":"User","site_admin":false},"repo":{"id":53331596,"name":"video_quiz","full_name":"superNazo/video_quiz","owner":{"login":"superNazo","id":16664775,"avatar_url":"https://avatars.githubusercontent.com/u/16664775?v=3","gravatar_id":"","url":"https://api.github.com/users/superNazo","html_url":"https://github.com/superNazo","followers_url":"https://api.github.com/users/superNazo/followers","following_url":"https://api.github.com/users/superNazo/following{/other_user}","gists_url":"https://api.github.com/users/superNazo/gists{/gist_id}","starred_url":"https://api.github.com/users/superNazo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superNazo/subscriptions","organizations_url":"https://api.github.com/users/superNazo/orgs","repos_url":"https://api.github.com/users/superNazo/repos","events_url":"https://api.github.com/users/superNazo/events{/privacy}","received_events_url":"https://api.github.com/users/superNazo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/superNazo/video_quiz","description":"","fork":false,"url":"https://api.github.com/repos/superNazo/video_quiz","forks_url":"https://api.github.com/repos/superNazo/video_quiz/forks","keys_url":"https://api.github.com/repos/superNazo/video_quiz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/superNazo/video_quiz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/superNazo/video_quiz/teams","hooks_url":"https://api.github.com/repos/superNazo/video_quiz/hooks","issue_events_url":"https://api.github.com/repos/superNazo/video_quiz/issues/events{/number}","events_url":"https://api.github.com/repos/superNazo/video_quiz/events","assignees_url":"https://api.github.com/repos/superNazo/video_quiz/assignees{/user}","branches_url":"https://api.github.com/repos/superNazo/video_quiz/branches{/branch}","tags_url":"https://api.github.com/repos/superNazo/video_quiz/tags","blobs_url":"https://api.github.com/repos/superNazo/video_quiz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/superNazo/video_quiz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/superNazo/video_quiz/git/refs{/sha}","trees_url":"https://api.github.com/repos/superNazo/video_quiz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/superNazo/video_quiz/statuses/{sha}","languages_url":"https://api.github.com/repos/superNazo/video_quiz/languages","stargazers_url":"https://api.github.com/repos/superNazo/video_quiz/stargazers","contributors_url":"https://api.github.com/repos/superNazo/video_quiz/contributors","subscribers_url":"https://api.github.com/repos/superNazo/video_quiz/subscribers","subscription_url":"https://api.github.com/repos/superNazo/video_quiz/subscription","commits_url":"https://api.github.com/repos/superNazo/video_quiz/commits{/sha}","git_commits_url":"https://api.github.com/repos/superNazo/video_quiz/git/commits{/sha}","comments_url":"https://api.github.com/repos/superNazo/video_quiz/comments{/number}","issue_comment_url":"https://api.github.com/repos/superNazo/video_quiz/issues/comments{/number}","contents_url":"https://api.github.com/repos/superNazo/video_quiz/contents/{+path}","compare_url":"https://api.github.com/repos/superNazo/video_quiz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/superNazo/video_quiz/merges","archive_url":"https://api.github.com/repos/superNazo/video_quiz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/superNazo/video_quiz/downloads","issues_url":"https://api.github.com/repos/superNazo/video_quiz/issues{/number}","pulls_url":"https://api.github.com/repos/superNazo/video_quiz/pulls{/number}","milestones_url":"https://api.github.com/repos/superNazo/video_quiz/milestones{/number}","notifications_url":"https://api.github.com/repos/superNazo/video_quiz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/superNazo/video_quiz/labels{/name}","releases_url":"https://api.github.com/repos/superNazo/video_quiz/releases{/id}","deployments_url":"https://api.github.com/repos/superNazo/video_quiz/deployments","created_at":"2016-03-07T14:28:19Z","updated_at":"2016-03-20T16:06:51Z","pushed_at":"2016-04-18T19:35:33Z","git_url":"git://github.com/superNazo/video_quiz.git","ssh_url":"git@github.com:superNazo/video_quiz.git","clone_url":"https://github.com/superNazo/video_quiz.git","svn_url":"https://github.com/superNazo/video_quiz","homepage":null,"size":241,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/superNazo/video_quiz/pulls/48"},"html":{"href":"https://github.com/superNazo/video_quiz/pull/48"},"issue":{"href":"https://api.github.com/repos/superNazo/video_quiz/issues/48"},"comments":{"href":"https://api.github.com/repos/superNazo/video_quiz/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/superNazo/video_quiz/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/superNazo/video_quiz/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/superNazo/video_quiz/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/superNazo/video_quiz/statuses/d116aed53d9015ce6a7bcd5d983d4ec31c3f28ae"}}}}