{"action":"created","comment":{"url":"https://api.github.com/repos/morganmiller/dinner_dash/pulls/comments/32906873","id":32906873,"diff_hunk":"@@ -0,0 +1,69 @@\n+require 'rails_helper'\n+\n+feature 'Logged in admin' do\n+  let(:category) { Category.create!(name: \"Gross\")}\n+\n+  before(:each) do\n+    admin = User.create(email: \"admin@example.com\",\n+                         password: \"password\",\n+                         full_name: \"jeff admin\",\n+                         display_name: \"admin\",\n+                         role: 1)\n+\n+    @item = Item.create(title: \"Eat Cheese and Die\",\n+                        description: \"The spookiest grilled cheese.\",\n+                        price: 50.65,\n+                        categories: [category])\n+    @item2 = Item.create(title: \"It Came From Beneath the Sink\",\n+                         description: \"You don't want to know.\",\n+                         price: 200.99,\n+                         categories: [category])\n+\n+    allow_any_instance_of(ApplicationController).to receive(:current_user) { admin }","path":"spec/features/admin/admin_modifies_items_spec.rb","position":22,"original_position":22,"commit_id":"14436f71a76e21ec7dedfefeb04504464f0ab462","original_commit_id":"14436f71a76e21ec7dedfefeb04504464f0ab462","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [84/80]","created_at":"2015-06-22T05:59:15Z","updated_at":"2015-06-22T05:59:15Z","html_url":"https://github.com/morganmiller/dinner_dash/pull/55#discussion_r32906873","pull_request_url":"https://api.github.com/repos/morganmiller/dinner_dash/pulls/55","_links":{"self":{"href":"https://api.github.com/repos/morganmiller/dinner_dash/pulls/comments/32906873"},"html":{"href":"https://github.com/morganmiller/dinner_dash/pull/55#discussion_r32906873"},"pull_request":{"href":"https://api.github.com/repos/morganmiller/dinner_dash/pulls/55"}}},"pull_request":{"url":"https://api.github.com/repos/morganmiller/dinner_dash/pulls/55","id":38202127,"html_url":"https://github.com/morganmiller/dinner_dash/pull/55","diff_url":"https://github.com/morganmiller/dinner_dash/pull/55.diff","patch_url":"https://github.com/morganmiller/dinner_dash/pull/55.patch","issue_url":"https://api.github.com/repos/morganmiller/dinner_dash/issues/55","number":55,"state":"closed","locked":false,"title":"adds some admin functionality","user":{"login":"tgraham777","id":10191383,"avatar_url":"https://avatars.githubusercontent.com/u/10191383?v=3","gravatar_id":"","url":"https://api.github.com/users/tgraham777","html_url":"https://github.com/tgraham777","followers_url":"https://api.github.com/users/tgraham777/followers","following_url":"https://api.github.com/users/tgraham777/following{/other_user}","gists_url":"https://api.github.com/users/tgraham777/gists{/gist_id}","starred_url":"https://api.github.com/users/tgraham777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgraham777/subscriptions","organizations_url":"https://api.github.com/users/tgraham777/orgs","repos_url":"https://api.github.com/users/tgraham777/repos","events_url":"https://api.github.com/users/tgraham777/events{/privacy}","received_events_url":"https://api.github.com/users/tgraham777/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-22T05:59:03Z","updated_at":"2015-06-22T05:59:15Z","closed_at":"2015-06-22T05:59:09Z","merged_at":"2015-06-22T05:59:09Z","merge_commit_sha":"f92f855c24d3181cfb92a5193e670ac263ceb234","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/morganmiller/dinner_dash/pulls/55/commits","review_comments_url":"https://api.github.com/repos/morganmiller/dinner_dash/pulls/55/comments","review_comment_url":"https://api.github.com/repos/morganmiller/dinner_dash/pulls/comments{/number}","comments_url":"https://api.github.com/repos/morganmiller/dinner_dash/issues/55/comments","statuses_url":"https://api.github.com/repos/morganmiller/dinner_dash/statuses/14436f71a76e21ec7dedfefeb04504464f0ab462","head":{"label":"morganmiller:admin_functionality","ref":"admin_functionality","sha":"14436f71a76e21ec7dedfefeb04504464f0ab462","user":{"login":"morganmiller","id":8868319,"avatar_url":"https://avatars.githubusercontent.com/u/8868319?v=3","gravatar_id":"","url":"https://api.github.com/users/morganmiller","html_url":"https://github.com/morganmiller","followers_url":"https://api.github.com/users/morganmiller/followers","following_url":"https://api.github.com/users/morganmiller/following{/other_user}","gists_url":"https://api.github.com/users/morganmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/morganmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morganmiller/subscriptions","organizations_url":"https://api.github.com/users/morganmiller/orgs","repos_url":"https://api.github.com/users/morganmiller/repos","events_url":"https://api.github.com/users/morganmiller/events{/privacy}","received_events_url":"https://api.github.com/users/morganmiller/received_events","type":"User","site_admin":false},"repo":{"id":37473171,"name":"dinner_dash","full_name":"morganmiller/dinner_dash","owner":{"login":"morganmiller","id":8868319,"avatar_url":"https://avatars.githubusercontent.com/u/8868319?v=3","gravatar_id":"","url":"https://api.github.com/users/morganmiller","html_url":"https://github.com/morganmiller","followers_url":"https://api.github.com/users/morganmiller/followers","following_url":"https://api.github.com/users/morganmiller/following{/other_user}","gists_url":"https://api.github.com/users/morganmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/morganmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morganmiller/subscriptions","organizations_url":"https://api.github.com/users/morganmiller/orgs","repos_url":"https://api.github.com/users/morganmiller/repos","events_url":"https://api.github.com/users/morganmiller/events{/privacy}","received_events_url":"https://api.github.com/users/morganmiller/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/morganmiller/dinner_dash","description":"","fork":false,"url":"https://api.github.com/repos/morganmiller/dinner_dash","forks_url":"https://api.github.com/repos/morganmiller/dinner_dash/forks","keys_url":"https://api.github.com/repos/morganmiller/dinner_dash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/morganmiller/dinner_dash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/morganmiller/dinner_dash/teams","hooks_url":"https://api.github.com/repos/morganmiller/dinner_dash/hooks","issue_events_url":"https://api.github.com/repos/morganmiller/dinner_dash/issues/events{/number}","events_url":"https://api.github.com/repos/morganmiller/dinner_dash/events","assignees_url":"https://api.github.com/repos/morganmiller/dinner_dash/assignees{/user}","branches_url":"https://api.github.com/repos/morganmiller/dinner_dash/branches{/branch}","tags_url":"https://api.github.com/repos/morganmiller/dinner_dash/tags","blobs_url":"https://api.github.com/repos/morganmiller/dinner_dash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/morganmiller/dinner_dash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/morganmiller/dinner_dash/git/refs{/sha}","trees_url":"https://api.github.com/repos/morganmiller/dinner_dash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/morganmiller/dinner_dash/statuses/{sha}","languages_url":"https://api.github.com/repos/morganmiller/dinner_dash/languages","stargazers_url":"https://api.github.com/repos/morganmiller/dinner_dash/stargazers","contributors_url":"https://api.github.com/repos/morganmiller/dinner_dash/contributors","subscribers_url":"https://api.github.com/repos/morganmiller/dinner_dash/subscribers","subscription_url":"https://api.github.com/repos/morganmiller/dinner_dash/subscription","commits_url":"https://api.github.com/repos/morganmiller/dinner_dash/commits{/sha}","git_commits_url":"https://api.github.com/repos/morganmiller/dinner_dash/git/commits{/sha}","comments_url":"https://api.github.com/repos/morganmiller/dinner_dash/comments{/number}","issue_comment_url":"https://api.github.com/repos/morganmiller/dinner_dash/issues/comments{/number}","contents_url":"https://api.github.com/repos/morganmiller/dinner_dash/contents/{+path}","compare_url":"https://api.github.com/repos/morganmiller/dinner_dash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/morganmiller/dinner_dash/merges","archive_url":"https://api.github.com/repos/morganmiller/dinner_dash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/morganmiller/dinner_dash/downloads","issues_url":"https://api.github.com/repos/morganmiller/dinner_dash/issues{/number}","pulls_url":"https://api.github.com/repos/morganmiller/dinner_dash/pulls{/number}","milestones_url":"https://api.github.com/repos/morganmiller/dinner_dash/milestones{/number}","notifications_url":"https://api.github.com/repos/morganmiller/dinner_dash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/morganmiller/dinner_dash/labels{/name}","releases_url":"https://api.github.com/repos/morganmiller/dinner_dash/releases{/id}","created_at":"2015-06-15T15:18:40Z","updated_at":"2015-06-21T05:26:37Z","pushed_at":"2015-06-22T05:59:09Z","git_url":"git://github.com/morganmiller/dinner_dash.git","ssh_url":"git@github.com:morganmiller/dinner_dash.git","clone_url":"https://github.com/morganmiller/dinner_dash.git","svn_url":"https://github.com/morganmiller/dinner_dash","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":18,"forks":0,"open_issues":18,"watchers":0,"default_branch":"master"}},"base":{"label":"morganmiller:master","ref":"master","sha":"4acb01e977392f341c64585bbbe972f0ddbb24ea","user":{"login":"morganmiller","id":8868319,"avatar_url":"https://avatars.githubusercontent.com/u/8868319?v=3","gravatar_id":"","url":"https://api.github.com/users/morganmiller","html_url":"https://github.com/morganmiller","followers_url":"https://api.github.com/users/morganmiller/followers","following_url":"https://api.github.com/users/morganmiller/following{/other_user}","gists_url":"https://api.github.com/users/morganmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/morganmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morganmiller/subscriptions","organizations_url":"https://api.github.com/users/morganmiller/orgs","repos_url":"https://api.github.com/users/morganmiller/repos","events_url":"https://api.github.com/users/morganmiller/events{/privacy}","received_events_url":"https://api.github.com/users/morganmiller/received_events","type":"User","site_admin":false},"repo":{"id":37473171,"name":"dinner_dash","full_name":"morganmiller/dinner_dash","owner":{"login":"morganmiller","id":8868319,"avatar_url":"https://avatars.githubusercontent.com/u/8868319?v=3","gravatar_id":"","url":"https://api.github.com/users/morganmiller","html_url":"https://github.com/morganmiller","followers_url":"https://api.github.com/users/morganmiller/followers","following_url":"https://api.github.com/users/morganmiller/following{/other_user}","gists_url":"https://api.github.com/users/morganmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/morganmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morganmiller/subscriptions","organizations_url":"https://api.github.com/users/morganmiller/orgs","repos_url":"https://api.github.com/users/morganmiller/repos","events_url":"https://api.github.com/users/morganmiller/events{/privacy}","received_events_url":"https://api.github.com/users/morganmiller/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/morganmiller/dinner_dash","description":"","fork":false,"url":"https://api.github.com/repos/morganmiller/dinner_dash","forks_url":"https://api.github.com/repos/morganmiller/dinner_dash/forks","keys_url":"https://api.github.com/repos/morganmiller/dinner_dash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/morganmiller/dinner_dash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/morganmiller/dinner_dash/teams","hooks_url":"https://api.github.com/repos/morganmiller/dinner_dash/hooks","issue_events_url":"https://api.github.com/repos/morganmiller/dinner_dash/issues/events{/number}","events_url":"https://api.github.com/repos/morganmiller/dinner_dash/events","assignees_url":"https://api.github.com/repos/morganmiller/dinner_dash/assignees{/user}","branches_url":"https://api.github.com/repos/morganmiller/dinner_dash/branches{/branch}","tags_url":"https://api.github.com/repos/morganmiller/dinner_dash/tags","blobs_url":"https://api.github.com/repos/morganmiller/dinner_dash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/morganmiller/dinner_dash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/morganmiller/dinner_dash/git/refs{/sha}","trees_url":"https://api.github.com/repos/morganmiller/dinner_dash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/morganmiller/dinner_dash/statuses/{sha}","languages_url":"https://api.github.com/repos/morganmiller/dinner_dash/languages","stargazers_url":"https://api.github.com/repos/morganmiller/dinner_dash/stargazers","contributors_url":"https://api.github.com/repos/morganmiller/dinner_dash/contributors","subscribers_url":"https://api.github.com/repos/morganmiller/dinner_dash/subscribers","subscription_url":"https://api.github.com/repos/morganmiller/dinner_dash/subscription","commits_url":"https://api.github.com/repos/morganmiller/dinner_dash/commits{/sha}","git_commits_url":"https://api.github.com/repos/morganmiller/dinner_dash/git/commits{/sha}","comments_url":"https://api.github.com/repos/morganmiller/dinner_dash/comments{/number}","issue_comment_url":"https://api.github.com/repos/morganmiller/dinner_dash/issues/comments{/number}","contents_url":"https://api.github.com/repos/morganmiller/dinner_dash/contents/{+path}","compare_url":"https://api.github.com/repos/morganmiller/dinner_dash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/morganmiller/dinner_dash/merges","archive_url":"https://api.github.com/repos/morganmiller/dinner_dash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/morganmiller/dinner_dash/downloads","issues_url":"https://api.github.com/repos/morganmiller/dinner_dash/issues{/number}","pulls_url":"https://api.github.com/repos/morganmiller/dinner_dash/pulls{/number}","milestones_url":"https://api.github.com/repos/morganmiller/dinner_dash/milestones{/number}","notifications_url":"https://api.github.com/repos/morganmiller/dinner_dash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/morganmiller/dinner_dash/labels{/name}","releases_url":"https://api.github.com/repos/morganmiller/dinner_dash/releases{/id}","created_at":"2015-06-15T15:18:40Z","updated_at":"2015-06-21T05:26:37Z","pushed_at":"2015-06-22T05:59:09Z","git_url":"git://github.com/morganmiller/dinner_dash.git","ssh_url":"git@github.com:morganmiller/dinner_dash.git","clone_url":"https://github.com/morganmiller/dinner_dash.git","svn_url":"https://github.com/morganmiller/dinner_dash","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":18,"forks":0,"open_issues":18,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/morganmiller/dinner_dash/pulls/55"},"html":{"href":"https://github.com/morganmiller/dinner_dash/pull/55"},"issue":{"href":"https://api.github.com/repos/morganmiller/dinner_dash/issues/55"},"comments":{"href":"https://api.github.com/repos/morganmiller/dinner_dash/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/morganmiller/dinner_dash/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/morganmiller/dinner_dash/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/morganmiller/dinner_dash/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/morganmiller/dinner_dash/statuses/14436f71a76e21ec7dedfefeb04504464f0ab462"}}}}