{"action":"created","comment":{"url":"https://api.github.com/repos/davemaurer/dinner_dash/pulls/comments/32890267","id":32890267,"diff_hunk":"@@ -0,0 +1,70 @@\n+require \"rails_helper\"\n+\n+RSpec.feature \"the admin can create new categories\", type: :feature do\n+  before(:each) do\n+    category = Category.create(name: \"dessert\")\n+\n+    unicorn  = Item.create(title: \"Unicorn Pie\",\n+                           description: \"Good\",\n+                           price: 8,\n+                           status: \"active\",\n+                           categories: [category])\n+\n+    arya    = User.create(full_name: \"Arya of House Stark\",\n+                           user_name: \"Nymeria\",\n+                           email: \"arya@winterfell.com\",","path":"spec/features/admin_user/admin_can_create_new_categories_spec.rb","position":15,"original_position":15,"commit_id":"c82e613f3b35a45c13a71fb2cbecfdd0b4bf5138","original_commit_id":"c82e613f3b35a45c13a71fb2cbecfdd0b4bf5138","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-21T03:58:58Z","updated_at":"2015-06-21T03:58:58Z","html_url":"https://github.com/davemaurer/dinner_dash/pull/75#discussion_r32890267","pull_request_url":"https://api.github.com/repos/davemaurer/dinner_dash/pulls/75","_links":{"self":{"href":"https://api.github.com/repos/davemaurer/dinner_dash/pulls/comments/32890267"},"html":{"href":"https://github.com/davemaurer/dinner_dash/pull/75#discussion_r32890267"},"pull_request":{"href":"https://api.github.com/repos/davemaurer/dinner_dash/pulls/75"}}},"pull_request":{"url":"https://api.github.com/repos/davemaurer/dinner_dash/pulls/75","id":38178690,"html_url":"https://github.com/davemaurer/dinner_dash/pull/75","diff_url":"https://github.com/davemaurer/dinner_dash/pull/75.diff","patch_url":"https://github.com/davemaurer/dinner_dash/pull/75.patch","issue_url":"https://api.github.com/repos/davemaurer/dinner_dash/issues/75","number":75,"state":"open","locked":false,"title":"admin can create new categories","user":{"login":"aoili","id":11182356,"avatar_url":"https://avatars.githubusercontent.com/u/11182356?v=3","gravatar_id":"","url":"https://api.github.com/users/aoili","html_url":"https://github.com/aoili","followers_url":"https://api.github.com/users/aoili/followers","following_url":"https://api.github.com/users/aoili/following{/other_user}","gists_url":"https://api.github.com/users/aoili/gists{/gist_id}","starred_url":"https://api.github.com/users/aoili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aoili/subscriptions","organizations_url":"https://api.github.com/users/aoili/orgs","repos_url":"https://api.github.com/users/aoili/repos","events_url":"https://api.github.com/users/aoili/events{/privacy}","received_events_url":"https://api.github.com/users/aoili/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-21T03:58:54Z","updated_at":"2015-06-21T03:58:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6e6b10acd9744939fad174ef34046338f3058ea1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/davemaurer/dinner_dash/pulls/75/commits","review_comments_url":"https://api.github.com/repos/davemaurer/dinner_dash/pulls/75/comments","review_comment_url":"https://api.github.com/repos/davemaurer/dinner_dash/pulls/comments{/number}","comments_url":"https://api.github.com/repos/davemaurer/dinner_dash/issues/75/comments","statuses_url":"https://api.github.com/repos/davemaurer/dinner_dash/statuses/c82e613f3b35a45c13a71fb2cbecfdd0b4bf5138","head":{"label":"davemaurer:admin_creates_new_categories","ref":"admin_creates_new_categories","sha":"c82e613f3b35a45c13a71fb2cbecfdd0b4bf5138","user":{"login":"davemaurer","id":9309907,"avatar_url":"https://avatars.githubusercontent.com/u/9309907?v=3","gravatar_id":"","url":"https://api.github.com/users/davemaurer","html_url":"https://github.com/davemaurer","followers_url":"https://api.github.com/users/davemaurer/followers","following_url":"https://api.github.com/users/davemaurer/following{/other_user}","gists_url":"https://api.github.com/users/davemaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/davemaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davemaurer/subscriptions","organizations_url":"https://api.github.com/users/davemaurer/orgs","repos_url":"https://api.github.com/users/davemaurer/repos","events_url":"https://api.github.com/users/davemaurer/events{/privacy}","received_events_url":"https://api.github.com/users/davemaurer/received_events","type":"User","site_admin":false},"repo":{"id":37473112,"name":"dinner_dash","full_name":"davemaurer/dinner_dash","owner":{"login":"davemaurer","id":9309907,"avatar_url":"https://avatars.githubusercontent.com/u/9309907?v=3","gravatar_id":"","url":"https://api.github.com/users/davemaurer","html_url":"https://github.com/davemaurer","followers_url":"https://api.github.com/users/davemaurer/followers","following_url":"https://api.github.com/users/davemaurer/following{/other_user}","gists_url":"https://api.github.com/users/davemaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/davemaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davemaurer/subscriptions","organizations_url":"https://api.github.com/users/davemaurer/orgs","repos_url":"https://api.github.com/users/davemaurer/repos","events_url":"https://api.github.com/users/davemaurer/events{/privacy}","received_events_url":"https://api.github.com/users/davemaurer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davemaurer/dinner_dash","description":"","fork":false,"url":"https://api.github.com/repos/davemaurer/dinner_dash","forks_url":"https://api.github.com/repos/davemaurer/dinner_dash/forks","keys_url":"https://api.github.com/repos/davemaurer/dinner_dash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davemaurer/dinner_dash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davemaurer/dinner_dash/teams","hooks_url":"https://api.github.com/repos/davemaurer/dinner_dash/hooks","issue_events_url":"https://api.github.com/repos/davemaurer/dinner_dash/issues/events{/number}","events_url":"https://api.github.com/repos/davemaurer/dinner_dash/events","assignees_url":"https://api.github.com/repos/davemaurer/dinner_dash/assignees{/user}","branches_url":"https://api.github.com/repos/davemaurer/dinner_dash/branches{/branch}","tags_url":"https://api.github.com/repos/davemaurer/dinner_dash/tags","blobs_url":"https://api.github.com/repos/davemaurer/dinner_dash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davemaurer/dinner_dash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davemaurer/dinner_dash/git/refs{/sha}","trees_url":"https://api.github.com/repos/davemaurer/dinner_dash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davemaurer/dinner_dash/statuses/{sha}","languages_url":"https://api.github.com/repos/davemaurer/dinner_dash/languages","stargazers_url":"https://api.github.com/repos/davemaurer/dinner_dash/stargazers","contributors_url":"https://api.github.com/repos/davemaurer/dinner_dash/contributors","subscribers_url":"https://api.github.com/repos/davemaurer/dinner_dash/subscribers","subscription_url":"https://api.github.com/repos/davemaurer/dinner_dash/subscription","commits_url":"https://api.github.com/repos/davemaurer/dinner_dash/commits{/sha}","git_commits_url":"https://api.github.com/repos/davemaurer/dinner_dash/git/commits{/sha}","comments_url":"https://api.github.com/repos/davemaurer/dinner_dash/comments{/number}","issue_comment_url":"https://api.github.com/repos/davemaurer/dinner_dash/issues/comments{/number}","contents_url":"https://api.github.com/repos/davemaurer/dinner_dash/contents/{+path}","compare_url":"https://api.github.com/repos/davemaurer/dinner_dash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davemaurer/dinner_dash/merges","archive_url":"https://api.github.com/repos/davemaurer/dinner_dash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davemaurer/dinner_dash/downloads","issues_url":"https://api.github.com/repos/davemaurer/dinner_dash/issues{/number}","pulls_url":"https://api.github.com/repos/davemaurer/dinner_dash/pulls{/number}","milestones_url":"https://api.github.com/repos/davemaurer/dinner_dash/milestones{/number}","notifications_url":"https://api.github.com/repos/davemaurer/dinner_dash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davemaurer/dinner_dash/labels{/name}","releases_url":"https://api.github.com/repos/davemaurer/dinner_dash/releases{/id}","created_at":"2015-06-15T15:17:38Z","updated_at":"2015-06-19T02:19:17Z","pushed_at":"2015-06-21T03:58:54Z","git_url":"git://github.com/davemaurer/dinner_dash.git","ssh_url":"git@github.com:davemaurer/dinner_dash.git","clone_url":"https://github.com/davemaurer/dinner_dash.git","svn_url":"https://github.com/davemaurer/dinner_dash","homepage":null,"size":940,"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":16,"forks":0,"open_issues":16,"watchers":0,"default_branch":"master"}},"base":{"label":"davemaurer:master","ref":"master","sha":"81504ea76a272b7472b32c2032e1e0c9fdee0a07","user":{"login":"davemaurer","id":9309907,"avatar_url":"https://avatars.githubusercontent.com/u/9309907?v=3","gravatar_id":"","url":"https://api.github.com/users/davemaurer","html_url":"https://github.com/davemaurer","followers_url":"https://api.github.com/users/davemaurer/followers","following_url":"https://api.github.com/users/davemaurer/following{/other_user}","gists_url":"https://api.github.com/users/davemaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/davemaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davemaurer/subscriptions","organizations_url":"https://api.github.com/users/davemaurer/orgs","repos_url":"https://api.github.com/users/davemaurer/repos","events_url":"https://api.github.com/users/davemaurer/events{/privacy}","received_events_url":"https://api.github.com/users/davemaurer/received_events","type":"User","site_admin":false},"repo":{"id":37473112,"name":"dinner_dash","full_name":"davemaurer/dinner_dash","owner":{"login":"davemaurer","id":9309907,"avatar_url":"https://avatars.githubusercontent.com/u/9309907?v=3","gravatar_id":"","url":"https://api.github.com/users/davemaurer","html_url":"https://github.com/davemaurer","followers_url":"https://api.github.com/users/davemaurer/followers","following_url":"https://api.github.com/users/davemaurer/following{/other_user}","gists_url":"https://api.github.com/users/davemaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/davemaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davemaurer/subscriptions","organizations_url":"https://api.github.com/users/davemaurer/orgs","repos_url":"https://api.github.com/users/davemaurer/repos","events_url":"https://api.github.com/users/davemaurer/events{/privacy}","received_events_url":"https://api.github.com/users/davemaurer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davemaurer/dinner_dash","description":"","fork":false,"url":"https://api.github.com/repos/davemaurer/dinner_dash","forks_url":"https://api.github.com/repos/davemaurer/dinner_dash/forks","keys_url":"https://api.github.com/repos/davemaurer/dinner_dash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davemaurer/dinner_dash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davemaurer/dinner_dash/teams","hooks_url":"https://api.github.com/repos/davemaurer/dinner_dash/hooks","issue_events_url":"https://api.github.com/repos/davemaurer/dinner_dash/issues/events{/number}","events_url":"https://api.github.com/repos/davemaurer/dinner_dash/events","assignees_url":"https://api.github.com/repos/davemaurer/dinner_dash/assignees{/user}","branches_url":"https://api.github.com/repos/davemaurer/dinner_dash/branches{/branch}","tags_url":"https://api.github.com/repos/davemaurer/dinner_dash/tags","blobs_url":"https://api.github.com/repos/davemaurer/dinner_dash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davemaurer/dinner_dash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davemaurer/dinner_dash/git/refs{/sha}","trees_url":"https://api.github.com/repos/davemaurer/dinner_dash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davemaurer/dinner_dash/statuses/{sha}","languages_url":"https://api.github.com/repos/davemaurer/dinner_dash/languages","stargazers_url":"https://api.github.com/repos/davemaurer/dinner_dash/stargazers","contributors_url":"https://api.github.com/repos/davemaurer/dinner_dash/contributors","subscribers_url":"https://api.github.com/repos/davemaurer/dinner_dash/subscribers","subscription_url":"https://api.github.com/repos/davemaurer/dinner_dash/subscription","commits_url":"https://api.github.com/repos/davemaurer/dinner_dash/commits{/sha}","git_commits_url":"https://api.github.com/repos/davemaurer/dinner_dash/git/commits{/sha}","comments_url":"https://api.github.com/repos/davemaurer/dinner_dash/comments{/number}","issue_comment_url":"https://api.github.com/repos/davemaurer/dinner_dash/issues/comments{/number}","contents_url":"https://api.github.com/repos/davemaurer/dinner_dash/contents/{+path}","compare_url":"https://api.github.com/repos/davemaurer/dinner_dash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davemaurer/dinner_dash/merges","archive_url":"https://api.github.com/repos/davemaurer/dinner_dash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davemaurer/dinner_dash/downloads","issues_url":"https://api.github.com/repos/davemaurer/dinner_dash/issues{/number}","pulls_url":"https://api.github.com/repos/davemaurer/dinner_dash/pulls{/number}","milestones_url":"https://api.github.com/repos/davemaurer/dinner_dash/milestones{/number}","notifications_url":"https://api.github.com/repos/davemaurer/dinner_dash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davemaurer/dinner_dash/labels{/name}","releases_url":"https://api.github.com/repos/davemaurer/dinner_dash/releases{/id}","created_at":"2015-06-15T15:17:38Z","updated_at":"2015-06-19T02:19:17Z","pushed_at":"2015-06-21T03:58:54Z","git_url":"git://github.com/davemaurer/dinner_dash.git","ssh_url":"git@github.com:davemaurer/dinner_dash.git","clone_url":"https://github.com/davemaurer/dinner_dash.git","svn_url":"https://github.com/davemaurer/dinner_dash","homepage":null,"size":940,"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":16,"forks":0,"open_issues":16,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/davemaurer/dinner_dash/pulls/75"},"html":{"href":"https://github.com/davemaurer/dinner_dash/pull/75"},"issue":{"href":"https://api.github.com/repos/davemaurer/dinner_dash/issues/75"},"comments":{"href":"https://api.github.com/repos/davemaurer/dinner_dash/issues/75/comments"},"review_comments":{"href":"https://api.github.com/repos/davemaurer/dinner_dash/pulls/75/comments"},"review_comment":{"href":"https://api.github.com/repos/davemaurer/dinner_dash/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/davemaurer/dinner_dash/pulls/75/commits"},"statuses":{"href":"https://api.github.com/repos/davemaurer/dinner_dash/statuses/c82e613f3b35a45c13a71fb2cbecfdd0b4bf5138"}}}}