{"action":"created","comment":{"url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/pulls/comments/32942405","id":32942405,"diff_hunk":"@@ -2,21 +2,35 @@\n \n RSpec.feature 'Admin' do\n   xit \"can edit an item\" do\n-  admin = User.create(fullname: \"Not Richard\",\n-                      email: \"not_richard@example.com\",\n-                      role: \"admin\",\n-                      display_name: \"admin\",\n-                      password: \"password\")\n+    admin = User.create(fullname: \"Not Richard\",\n+                        email: \"not_richard@example.com\",\n+                        role: 1,\n+                        display_name: \"admin\",\n+                        password: \"password\")\n+    item = Item.create(title: \"New Title\",\n+                      description: \"New Description\",\n+                      price: 900,\n+                      availability: \"active\")","path":"spec/features/admin_edit_items_spec.rb","position":17,"original_position":17,"commit_id":"1b8147b1d9e411ac4a53654e8f6694402a4c7eed","original_commit_id":"1b8147b1d9e411ac4a53654e8f6694402a4c7eed","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":"Align the elements of a hash literal if they span more than one line.","created_at":"2015-06-22T14:53:12Z","updated_at":"2015-06-22T14:53:12Z","html_url":"https://github.com/sallymacnicholas/dinner_dash/pull/62#discussion_r32942405","pull_request_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/pulls/62","_links":{"self":{"href":"https://api.github.com/repos/sallymacnicholas/dinner_dash/pulls/comments/32942405"},"html":{"href":"https://github.com/sallymacnicholas/dinner_dash/pull/62#discussion_r32942405"},"pull_request":{"href":"https://api.github.com/repos/sallymacnicholas/dinner_dash/pulls/62"}}},"pull_request":{"url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/pulls/62","id":38239900,"html_url":"https://github.com/sallymacnicholas/dinner_dash/pull/62","diff_url":"https://github.com/sallymacnicholas/dinner_dash/pull/62.diff","patch_url":"https://github.com/sallymacnicholas/dinner_dash/pull/62.patch","issue_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/issues/62","number":62,"state":"open","locked":false,"title":"Admin dashboard","user":{"login":"sallymacnicholas","id":10360728,"avatar_url":"https://avatars.githubusercontent.com/u/10360728?v=3","gravatar_id":"","url":"https://api.github.com/users/sallymacnicholas","html_url":"https://github.com/sallymacnicholas","followers_url":"https://api.github.com/users/sallymacnicholas/followers","following_url":"https://api.github.com/users/sallymacnicholas/following{/other_user}","gists_url":"https://api.github.com/users/sallymacnicholas/gists{/gist_id}","starred_url":"https://api.github.com/users/sallymacnicholas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sallymacnicholas/subscriptions","organizations_url":"https://api.github.com/users/sallymacnicholas/orgs","repos_url":"https://api.github.com/users/sallymacnicholas/repos","events_url":"https://api.github.com/users/sallymacnicholas/events{/privacy}","received_events_url":"https://api.github.com/users/sallymacnicholas/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-22T14:53:04Z","updated_at":"2015-06-22T14:53:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cbdc4b70c44794f2778847de7590b1476ca365e8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/pulls/62/commits","review_comments_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/pulls/62/comments","review_comment_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/issues/62/comments","statuses_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/statuses/1b8147b1d9e411ac4a53654e8f6694402a4c7eed","head":{"label":"sallymacnicholas:admin_dashboard","ref":"admin_dashboard","sha":"1b8147b1d9e411ac4a53654e8f6694402a4c7eed","user":{"login":"sallymacnicholas","id":10360728,"avatar_url":"https://avatars.githubusercontent.com/u/10360728?v=3","gravatar_id":"","url":"https://api.github.com/users/sallymacnicholas","html_url":"https://github.com/sallymacnicholas","followers_url":"https://api.github.com/users/sallymacnicholas/followers","following_url":"https://api.github.com/users/sallymacnicholas/following{/other_user}","gists_url":"https://api.github.com/users/sallymacnicholas/gists{/gist_id}","starred_url":"https://api.github.com/users/sallymacnicholas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sallymacnicholas/subscriptions","organizations_url":"https://api.github.com/users/sallymacnicholas/orgs","repos_url":"https://api.github.com/users/sallymacnicholas/repos","events_url":"https://api.github.com/users/sallymacnicholas/events{/privacy}","received_events_url":"https://api.github.com/users/sallymacnicholas/received_events","type":"User","site_admin":false},"repo":{"id":37474175,"name":"dinner_dash","full_name":"sallymacnicholas/dinner_dash","owner":{"login":"sallymacnicholas","id":10360728,"avatar_url":"https://avatars.githubusercontent.com/u/10360728?v=3","gravatar_id":"","url":"https://api.github.com/users/sallymacnicholas","html_url":"https://github.com/sallymacnicholas","followers_url":"https://api.github.com/users/sallymacnicholas/followers","following_url":"https://api.github.com/users/sallymacnicholas/following{/other_user}","gists_url":"https://api.github.com/users/sallymacnicholas/gists{/gist_id}","starred_url":"https://api.github.com/users/sallymacnicholas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sallymacnicholas/subscriptions","organizations_url":"https://api.github.com/users/sallymacnicholas/orgs","repos_url":"https://api.github.com/users/sallymacnicholas/repos","events_url":"https://api.github.com/users/sallymacnicholas/events{/privacy}","received_events_url":"https://api.github.com/users/sallymacnicholas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sallymacnicholas/dinner_dash","description":"","fork":false,"url":"https://api.github.com/repos/sallymacnicholas/dinner_dash","forks_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/forks","keys_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/teams","hooks_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/hooks","issue_events_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/issues/events{/number}","events_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/events","assignees_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/assignees{/user}","branches_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/branches{/branch}","tags_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/tags","blobs_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/git/refs{/sha}","trees_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/statuses/{sha}","languages_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/languages","stargazers_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/stargazers","contributors_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/contributors","subscribers_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/subscribers","subscription_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/subscription","commits_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/commits{/sha}","git_commits_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/git/commits{/sha}","comments_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/comments{/number}","issue_comment_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/issues/comments{/number}","contents_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/contents/{+path}","compare_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/merges","archive_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/downloads","issues_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/issues{/number}","pulls_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/pulls{/number}","milestones_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/milestones{/number}","notifications_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/labels{/name}","releases_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/releases{/id}","created_at":"2015-06-15T15:36:31Z","updated_at":"2015-06-20T21:48:47Z","pushed_at":"2015-06-22T14:53:04Z","git_url":"git://github.com/sallymacnicholas/dinner_dash.git","ssh_url":"git@github.com:sallymacnicholas/dinner_dash.git","clone_url":"https://github.com/sallymacnicholas/dinner_dash.git","svn_url":"https://github.com/sallymacnicholas/dinner_dash","homepage":null,"size":900,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":21,"forks":0,"open_issues":21,"watchers":0,"default_branch":"master"}},"base":{"label":"sallymacnicholas:master","ref":"master","sha":"f8f3a26fba97280021606217bef0fe9346d4a91a","user":{"login":"sallymacnicholas","id":10360728,"avatar_url":"https://avatars.githubusercontent.com/u/10360728?v=3","gravatar_id":"","url":"https://api.github.com/users/sallymacnicholas","html_url":"https://github.com/sallymacnicholas","followers_url":"https://api.github.com/users/sallymacnicholas/followers","following_url":"https://api.github.com/users/sallymacnicholas/following{/other_user}","gists_url":"https://api.github.com/users/sallymacnicholas/gists{/gist_id}","starred_url":"https://api.github.com/users/sallymacnicholas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sallymacnicholas/subscriptions","organizations_url":"https://api.github.com/users/sallymacnicholas/orgs","repos_url":"https://api.github.com/users/sallymacnicholas/repos","events_url":"https://api.github.com/users/sallymacnicholas/events{/privacy}","received_events_url":"https://api.github.com/users/sallymacnicholas/received_events","type":"User","site_admin":false},"repo":{"id":37474175,"name":"dinner_dash","full_name":"sallymacnicholas/dinner_dash","owner":{"login":"sallymacnicholas","id":10360728,"avatar_url":"https://avatars.githubusercontent.com/u/10360728?v=3","gravatar_id":"","url":"https://api.github.com/users/sallymacnicholas","html_url":"https://github.com/sallymacnicholas","followers_url":"https://api.github.com/users/sallymacnicholas/followers","following_url":"https://api.github.com/users/sallymacnicholas/following{/other_user}","gists_url":"https://api.github.com/users/sallymacnicholas/gists{/gist_id}","starred_url":"https://api.github.com/users/sallymacnicholas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sallymacnicholas/subscriptions","organizations_url":"https://api.github.com/users/sallymacnicholas/orgs","repos_url":"https://api.github.com/users/sallymacnicholas/repos","events_url":"https://api.github.com/users/sallymacnicholas/events{/privacy}","received_events_url":"https://api.github.com/users/sallymacnicholas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sallymacnicholas/dinner_dash","description":"","fork":false,"url":"https://api.github.com/repos/sallymacnicholas/dinner_dash","forks_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/forks","keys_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/teams","hooks_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/hooks","issue_events_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/issues/events{/number}","events_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/events","assignees_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/assignees{/user}","branches_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/branches{/branch}","tags_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/tags","blobs_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/git/refs{/sha}","trees_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/statuses/{sha}","languages_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/languages","stargazers_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/stargazers","contributors_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/contributors","subscribers_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/subscribers","subscription_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/subscription","commits_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/commits{/sha}","git_commits_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/git/commits{/sha}","comments_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/comments{/number}","issue_comment_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/issues/comments{/number}","contents_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/contents/{+path}","compare_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/merges","archive_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/downloads","issues_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/issues{/number}","pulls_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/pulls{/number}","milestones_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/milestones{/number}","notifications_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/labels{/name}","releases_url":"https://api.github.com/repos/sallymacnicholas/dinner_dash/releases{/id}","created_at":"2015-06-15T15:36:31Z","updated_at":"2015-06-20T21:48:47Z","pushed_at":"2015-06-22T14:53:04Z","git_url":"git://github.com/sallymacnicholas/dinner_dash.git","ssh_url":"git@github.com:sallymacnicholas/dinner_dash.git","clone_url":"https://github.com/sallymacnicholas/dinner_dash.git","svn_url":"https://github.com/sallymacnicholas/dinner_dash","homepage":null,"size":900,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":21,"forks":0,"open_issues":21,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sallymacnicholas/dinner_dash/pulls/62"},"html":{"href":"https://github.com/sallymacnicholas/dinner_dash/pull/62"},"issue":{"href":"https://api.github.com/repos/sallymacnicholas/dinner_dash/issues/62"},"comments":{"href":"https://api.github.com/repos/sallymacnicholas/dinner_dash/issues/62/comments"},"review_comments":{"href":"https://api.github.com/repos/sallymacnicholas/dinner_dash/pulls/62/comments"},"review_comment":{"href":"https://api.github.com/repos/sallymacnicholas/dinner_dash/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sallymacnicholas/dinner_dash/pulls/62/commits"},"statuses":{"href":"https://api.github.com/repos/sallymacnicholas/dinner_dash/statuses/1b8147b1d9e411ac4a53654e8f6694402a4c7eed"}}}}