{"action":"created","comment":{"url":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls/comments/27571736","id":27571736,"diff_hunk":"@@ -1,32 +1,32 @@\n-require \"spec_helper\"\n-feature \"As an admin, I want to be able to delete any beer\", %{\n-  [ ] I must be signed in\n-  [ ] I must be on the details page for a specific beer\n-  [ ] I must be able to delete my beer by clicking the delete button\n-  [ ] After deleting each beer, I will be redirected to the beer index page\n-} do\n-  scenario \"successfully deleted a beer\" do\n-    admin = FactoryGirl.create(:admin)\n-    beer = FactoryGirl.create(:beer)\n-    visit root_path\n-    click_link \"Sign In\"\n-    fill_in \"Email\", with: admin.email\n-    fill_in \"Password\", with: admin.password\n-    click_link beer.name\n-    click_link \"Delete Beer\"\n-\n-    expect(page).to have_content(\"Beer Successfully Deleted\")\n-  end\n-\n-  scenario \"unsuccessfully delete a beer\" do\n-    user = FactoryGirl.create(:user)\n-    beer = FactoryGirl.create(:beer)\n-\n-    visit root_path\n-    click_link \"Sign In\"\n-    fill_in \"Email\", with: user.email\n-    fill_in \"Password\", with: user.password\n-    click_link beer.name\n-    expect(page).to_not have_content(\"Delete Beer\")\n-  end\n-end\n+# require \"rails_helper\"\n+# feature \"As an admin, I want to be able to delete any beer\", %{\n+#   [ ] I must be signed in\n+#   [ ] I must be on the details page for a specific beer\n+#   [ ] I must be able to delete my beer by clicking the delete button\n+#   [ ] After deleting each beer, I will be redirected to the beer index page\n+# } do\n+#   scenario \"successfully deleted a beer\" do\n+#     admin = FactoryGirl.create(:admin)\n+#     beer = FactoryGirl.create(:beer)\n+#     visit root_path\n+#     click_link \"Sign In\"\n+#     fill_in \"Email\", with: admin.email\n+#     fill_in \"Password\", with: admin.password\n+#     click_link beer.name\n+#     click_link \"Delete Beer\"\n+#\n+#     expect(page).to have_content(\"Beer Successfully Deleted\")\n+#   end\n+#\n+#   scenario \"unsuccessfully delete a beer\" do\n+#     user = FactoryGirl.create(:user)\n+#     beer = FactoryGirl.create(:beer)\n+#\n+#     visit root_path\n+#     click_link \"Sign In\"\n+#     fill_in \"Email\", with: user.email\n+#     fill_in \"Password\", with: user.password\n+#     click_link beer.name\n+#     expect(page).to_not have_content(\"Delete Beer\")\n+#   end\n+# end","path":"spec/features/admin_deletes_a_beer_spec.rb","position":64,"original_position":64,"commit_id":"8e61f8848e036b7e45cef813171f09685bb8d75f","original_commit_id":"8e61f8848e036b7e45cef813171f09685bb8d75f","user":{"login":"atsheehan","id":226221,"avatar_url":"https://avatars.githubusercontent.com/u/226221?v=3","gravatar_id":"","url":"https://api.github.com/users/atsheehan","html_url":"https://github.com/atsheehan","followers_url":"https://api.github.com/users/atsheehan/followers","following_url":"https://api.github.com/users/atsheehan/following{/other_user}","gists_url":"https://api.github.com/users/atsheehan/gists{/gist_id}","starred_url":"https://api.github.com/users/atsheehan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atsheehan/subscriptions","organizations_url":"https://api.github.com/users/atsheehan/orgs","repos_url":"https://api.github.com/users/atsheehan/repos","events_url":"https://api.github.com/users/atsheehan/events{/privacy}","received_events_url":"https://api.github.com/users/atsheehan/received_events","type":"User","site_admin":false},"body":"Delete commented out code (or uncomment).","created_at":"2015-04-01T14:09:15Z","updated_at":"2015-04-01T14:09:15Z","html_url":"https://github.com/davidrf/Beer-Reviews/pull/5#discussion_r27571736","pull_request_url":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls/comments/27571736"},"html":{"href":"https://github.com/davidrf/Beer-Reviews/pull/5#discussion_r27571736"},"pull_request":{"href":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls/5","id":32352757,"html_url":"https://github.com/davidrf/Beer-Reviews/pull/5","diff_url":"https://github.com/davidrf/Beer-Reviews/pull/5.diff","patch_url":"https://github.com/davidrf/Beer-Reviews/pull/5.patch","issue_url":"https://api.github.com/repos/davidrf/Beer-Reviews/issues/5","number":5,"state":"closed","locked":false,"title":"RFR - Drf Implement Index","user":{"login":"davidrf","id":9678182,"avatar_url":"https://avatars.githubusercontent.com/u/9678182?v=3","gravatar_id":"","url":"https://api.github.com/users/davidrf","html_url":"https://github.com/davidrf","followers_url":"https://api.github.com/users/davidrf/followers","following_url":"https://api.github.com/users/davidrf/following{/other_user}","gists_url":"https://api.github.com/users/davidrf/gists{/gist_id}","starred_url":"https://api.github.com/users/davidrf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidrf/subscriptions","organizations_url":"https://api.github.com/users/davidrf/orgs","repos_url":"https://api.github.com/users/davidrf/repos","events_url":"https://api.github.com/users/davidrf/events{/privacy}","received_events_url":"https://api.github.com/users/davidrf/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-31T18:45:19Z","updated_at":"2015-04-01T14:09:15Z","closed_at":"2015-03-31T20:11:26Z","merged_at":"2015-03-31T20:11:26Z","merge_commit_sha":"5f38a92dcb3db51e919157c3c4eb368e690da8ab","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls/5/commits","review_comments_url":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls/5/comments","review_comment_url":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls/comments{/number}","comments_url":"https://api.github.com/repos/davidrf/Beer-Reviews/issues/5/comments","statuses_url":"https://api.github.com/repos/davidrf/Beer-Reviews/statuses/8e61f8848e036b7e45cef813171f09685bb8d75f","head":{"label":"davidrf:drf-routes","ref":"drf-routes","sha":"8e61f8848e036b7e45cef813171f09685bb8d75f","user":{"login":"davidrf","id":9678182,"avatar_url":"https://avatars.githubusercontent.com/u/9678182?v=3","gravatar_id":"","url":"https://api.github.com/users/davidrf","html_url":"https://github.com/davidrf","followers_url":"https://api.github.com/users/davidrf/followers","following_url":"https://api.github.com/users/davidrf/following{/other_user}","gists_url":"https://api.github.com/users/davidrf/gists{/gist_id}","starred_url":"https://api.github.com/users/davidrf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidrf/subscriptions","organizations_url":"https://api.github.com/users/davidrf/orgs","repos_url":"https://api.github.com/users/davidrf/repos","events_url":"https://api.github.com/users/davidrf/events{/privacy}","received_events_url":"https://api.github.com/users/davidrf/received_events","type":"User","site_admin":false},"repo":{"id":33140253,"name":"Beer-Reviews","full_name":"davidrf/Beer-Reviews","owner":{"login":"davidrf","id":9678182,"avatar_url":"https://avatars.githubusercontent.com/u/9678182?v=3","gravatar_id":"","url":"https://api.github.com/users/davidrf","html_url":"https://github.com/davidrf","followers_url":"https://api.github.com/users/davidrf/followers","following_url":"https://api.github.com/users/davidrf/following{/other_user}","gists_url":"https://api.github.com/users/davidrf/gists{/gist_id}","starred_url":"https://api.github.com/users/davidrf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidrf/subscriptions","organizations_url":"https://api.github.com/users/davidrf/orgs","repos_url":"https://api.github.com/users/davidrf/repos","events_url":"https://api.github.com/users/davidrf/events{/privacy}","received_events_url":"https://api.github.com/users/davidrf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidrf/Beer-Reviews","description":"","fork":false,"url":"https://api.github.com/repos/davidrf/Beer-Reviews","forks_url":"https://api.github.com/repos/davidrf/Beer-Reviews/forks","keys_url":"https://api.github.com/repos/davidrf/Beer-Reviews/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidrf/Beer-Reviews/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidrf/Beer-Reviews/teams","hooks_url":"https://api.github.com/repos/davidrf/Beer-Reviews/hooks","issue_events_url":"https://api.github.com/repos/davidrf/Beer-Reviews/issues/events{/number}","events_url":"https://api.github.com/repos/davidrf/Beer-Reviews/events","assignees_url":"https://api.github.com/repos/davidrf/Beer-Reviews/assignees{/user}","branches_url":"https://api.github.com/repos/davidrf/Beer-Reviews/branches{/branch}","tags_url":"https://api.github.com/repos/davidrf/Beer-Reviews/tags","blobs_url":"https://api.github.com/repos/davidrf/Beer-Reviews/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidrf/Beer-Reviews/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidrf/Beer-Reviews/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidrf/Beer-Reviews/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidrf/Beer-Reviews/statuses/{sha}","languages_url":"https://api.github.com/repos/davidrf/Beer-Reviews/languages","stargazers_url":"https://api.github.com/repos/davidrf/Beer-Reviews/stargazers","contributors_url":"https://api.github.com/repos/davidrf/Beer-Reviews/contributors","subscribers_url":"https://api.github.com/repos/davidrf/Beer-Reviews/subscribers","subscription_url":"https://api.github.com/repos/davidrf/Beer-Reviews/subscription","commits_url":"https://api.github.com/repos/davidrf/Beer-Reviews/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidrf/Beer-Reviews/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidrf/Beer-Reviews/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidrf/Beer-Reviews/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidrf/Beer-Reviews/contents/{+path}","compare_url":"https://api.github.com/repos/davidrf/Beer-Reviews/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidrf/Beer-Reviews/merges","archive_url":"https://api.github.com/repos/davidrf/Beer-Reviews/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidrf/Beer-Reviews/downloads","issues_url":"https://api.github.com/repos/davidrf/Beer-Reviews/issues{/number}","pulls_url":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls{/number}","milestones_url":"https://api.github.com/repos/davidrf/Beer-Reviews/milestones{/number}","notifications_url":"https://api.github.com/repos/davidrf/Beer-Reviews/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidrf/Beer-Reviews/labels{/name}","releases_url":"https://api.github.com/repos/davidrf/Beer-Reviews/releases{/id}","created_at":"2015-03-30T18:26:08Z","updated_at":"2015-03-31T20:11:27Z","pushed_at":"2015-04-01T13:08:26Z","git_url":"git://github.com/davidrf/Beer-Reviews.git","ssh_url":"git@github.com:davidrf/Beer-Reviews.git","clone_url":"https://github.com/davidrf/Beer-Reviews.git","svn_url":"https://github.com/davidrf/Beer-Reviews","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"davidrf:master","ref":"master","sha":"d3331d4727b0544d75d55b6af9bcb5f93792e5e9","user":{"login":"davidrf","id":9678182,"avatar_url":"https://avatars.githubusercontent.com/u/9678182?v=3","gravatar_id":"","url":"https://api.github.com/users/davidrf","html_url":"https://github.com/davidrf","followers_url":"https://api.github.com/users/davidrf/followers","following_url":"https://api.github.com/users/davidrf/following{/other_user}","gists_url":"https://api.github.com/users/davidrf/gists{/gist_id}","starred_url":"https://api.github.com/users/davidrf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidrf/subscriptions","organizations_url":"https://api.github.com/users/davidrf/orgs","repos_url":"https://api.github.com/users/davidrf/repos","events_url":"https://api.github.com/users/davidrf/events{/privacy}","received_events_url":"https://api.github.com/users/davidrf/received_events","type":"User","site_admin":false},"repo":{"id":33140253,"name":"Beer-Reviews","full_name":"davidrf/Beer-Reviews","owner":{"login":"davidrf","id":9678182,"avatar_url":"https://avatars.githubusercontent.com/u/9678182?v=3","gravatar_id":"","url":"https://api.github.com/users/davidrf","html_url":"https://github.com/davidrf","followers_url":"https://api.github.com/users/davidrf/followers","following_url":"https://api.github.com/users/davidrf/following{/other_user}","gists_url":"https://api.github.com/users/davidrf/gists{/gist_id}","starred_url":"https://api.github.com/users/davidrf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidrf/subscriptions","organizations_url":"https://api.github.com/users/davidrf/orgs","repos_url":"https://api.github.com/users/davidrf/repos","events_url":"https://api.github.com/users/davidrf/events{/privacy}","received_events_url":"https://api.github.com/users/davidrf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidrf/Beer-Reviews","description":"","fork":false,"url":"https://api.github.com/repos/davidrf/Beer-Reviews","forks_url":"https://api.github.com/repos/davidrf/Beer-Reviews/forks","keys_url":"https://api.github.com/repos/davidrf/Beer-Reviews/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidrf/Beer-Reviews/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidrf/Beer-Reviews/teams","hooks_url":"https://api.github.com/repos/davidrf/Beer-Reviews/hooks","issue_events_url":"https://api.github.com/repos/davidrf/Beer-Reviews/issues/events{/number}","events_url":"https://api.github.com/repos/davidrf/Beer-Reviews/events","assignees_url":"https://api.github.com/repos/davidrf/Beer-Reviews/assignees{/user}","branches_url":"https://api.github.com/repos/davidrf/Beer-Reviews/branches{/branch}","tags_url":"https://api.github.com/repos/davidrf/Beer-Reviews/tags","blobs_url":"https://api.github.com/repos/davidrf/Beer-Reviews/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidrf/Beer-Reviews/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidrf/Beer-Reviews/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidrf/Beer-Reviews/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidrf/Beer-Reviews/statuses/{sha}","languages_url":"https://api.github.com/repos/davidrf/Beer-Reviews/languages","stargazers_url":"https://api.github.com/repos/davidrf/Beer-Reviews/stargazers","contributors_url":"https://api.github.com/repos/davidrf/Beer-Reviews/contributors","subscribers_url":"https://api.github.com/repos/davidrf/Beer-Reviews/subscribers","subscription_url":"https://api.github.com/repos/davidrf/Beer-Reviews/subscription","commits_url":"https://api.github.com/repos/davidrf/Beer-Reviews/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidrf/Beer-Reviews/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidrf/Beer-Reviews/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidrf/Beer-Reviews/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidrf/Beer-Reviews/contents/{+path}","compare_url":"https://api.github.com/repos/davidrf/Beer-Reviews/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidrf/Beer-Reviews/merges","archive_url":"https://api.github.com/repos/davidrf/Beer-Reviews/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidrf/Beer-Reviews/downloads","issues_url":"https://api.github.com/repos/davidrf/Beer-Reviews/issues{/number}","pulls_url":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls{/number}","milestones_url":"https://api.github.com/repos/davidrf/Beer-Reviews/milestones{/number}","notifications_url":"https://api.github.com/repos/davidrf/Beer-Reviews/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidrf/Beer-Reviews/labels{/name}","releases_url":"https://api.github.com/repos/davidrf/Beer-Reviews/releases{/id}","created_at":"2015-03-30T18:26:08Z","updated_at":"2015-03-31T20:11:27Z","pushed_at":"2015-04-01T13:08:26Z","git_url":"git://github.com/davidrf/Beer-Reviews.git","ssh_url":"git@github.com:davidrf/Beer-Reviews.git","clone_url":"https://github.com/davidrf/Beer-Reviews.git","svn_url":"https://github.com/davidrf/Beer-Reviews","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls/5"},"html":{"href":"https://github.com/davidrf/Beer-Reviews/pull/5"},"issue":{"href":"https://api.github.com/repos/davidrf/Beer-Reviews/issues/5"},"comments":{"href":"https://api.github.com/repos/davidrf/Beer-Reviews/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/davidrf/Beer-Reviews/statuses/8e61f8848e036b7e45cef813171f09685bb8d75f"}}}}