{"action":"created","comment":{"url":"https://api.github.com/repos/weilandia/little_owl/pulls/comments/55130460","id":55130460,"diff_hunk":"@@ -0,0 +1,45 @@\n+require 'rails_helper'\n+\n+RSpec.feature \"AdminCanViewAllItemsAndEdit\", type: :feature do\n+  scenario \"they edit items\" do\n+    admin = User.create(first_name: \"john\",\n+                        last_name: \"adams\",\n+                        email: \"admin@example.com\",\n+                          password: 'password',\n+                          role: 1","path":"spec/features/admin/admin_can_view_all_products_and_edit_spec.rb","position":9,"original_position":9,"commit_id":"5ba6e7def7b4ea13416e8bc7158f198543247c21","original_commit_id":"5ba6e7def7b4ea13416e8bc7158f198543247c21","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":"Align the elements of a hash literal if they span more than one line.","created_at":"2016-03-06T00:18:39Z","updated_at":"2016-03-06T00:18:39Z","html_url":"https://github.com/weilandia/little_owl/pull/68#discussion_r55130460","pull_request_url":"https://api.github.com/repos/weilandia/little_owl/pulls/68","_links":{"self":{"href":"https://api.github.com/repos/weilandia/little_owl/pulls/comments/55130460"},"html":{"href":"https://github.com/weilandia/little_owl/pull/68#discussion_r55130460"},"pull_request":{"href":"https://api.github.com/repos/weilandia/little_owl/pulls/68"}}},"pull_request":{"url":"https://api.github.com/repos/weilandia/little_owl/pulls/68","id":61829119,"html_url":"https://github.com/weilandia/little_owl/pull/68","diff_url":"https://github.com/weilandia/little_owl/pull/68.diff","patch_url":"https://github.com/weilandia/little_owl/pull/68.patch","issue_url":"https://api.github.com/repos/weilandia/little_owl/issues/68","number":68,"state":"open","locked":false,"title":"Add functionality for admin to crud products","user":{"login":"adamhundley","id":11205612,"avatar_url":"https://avatars.githubusercontent.com/u/11205612?v=3","gravatar_id":"","url":"https://api.github.com/users/adamhundley","html_url":"https://github.com/adamhundley","followers_url":"https://api.github.com/users/adamhundley/followers","following_url":"https://api.github.com/users/adamhundley/following{/other_user}","gists_url":"https://api.github.com/users/adamhundley/gists{/gist_id}","starred_url":"https://api.github.com/users/adamhundley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamhundley/subscriptions","organizations_url":"https://api.github.com/users/adamhundley/orgs","repos_url":"https://api.github.com/users/adamhundley/repos","events_url":"https://api.github.com/users/adamhundley/events{/privacy}","received_events_url":"https://api.github.com/users/adamhundley/received_events","type":"User","site_admin":false},"body":"Admin can update all products from admin_products_index\r\nAdmin can deactivate products\r\nUnicorn used as app server","created_at":"2016-03-06T00:18:29Z","updated_at":"2016-03-06T00:18:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f21161e8779d8956a5ed78096cad23b4c1c2564","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/weilandia/little_owl/pulls/68/commits","review_comments_url":"https://api.github.com/repos/weilandia/little_owl/pulls/68/comments","review_comment_url":"https://api.github.com/repos/weilandia/little_owl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/weilandia/little_owl/issues/68/comments","statuses_url":"https://api.github.com/repos/weilandia/little_owl/statuses/5ba6e7def7b4ea13416e8bc7158f198543247c21","head":{"label":"weilandia:admin_products_index_and_update","ref":"admin_products_index_and_update","sha":"5ba6e7def7b4ea13416e8bc7158f198543247c21","user":{"login":"weilandia","id":13652979,"avatar_url":"https://avatars.githubusercontent.com/u/13652979?v=3","gravatar_id":"","url":"https://api.github.com/users/weilandia","html_url":"https://github.com/weilandia","followers_url":"https://api.github.com/users/weilandia/followers","following_url":"https://api.github.com/users/weilandia/following{/other_user}","gists_url":"https://api.github.com/users/weilandia/gists{/gist_id}","starred_url":"https://api.github.com/users/weilandia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weilandia/subscriptions","organizations_url":"https://api.github.com/users/weilandia/orgs","repos_url":"https://api.github.com/users/weilandia/repos","events_url":"https://api.github.com/users/weilandia/events{/privacy}","received_events_url":"https://api.github.com/users/weilandia/received_events","type":"User","site_admin":false},"repo":{"id":52821317,"name":"little_owl","full_name":"weilandia/little_owl","owner":{"login":"weilandia","id":13652979,"avatar_url":"https://avatars.githubusercontent.com/u/13652979?v=3","gravatar_id":"","url":"https://api.github.com/users/weilandia","html_url":"https://github.com/weilandia","followers_url":"https://api.github.com/users/weilandia/followers","following_url":"https://api.github.com/users/weilandia/following{/other_user}","gists_url":"https://api.github.com/users/weilandia/gists{/gist_id}","starred_url":"https://api.github.com/users/weilandia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weilandia/subscriptions","organizations_url":"https://api.github.com/users/weilandia/orgs","repos_url":"https://api.github.com/users/weilandia/repos","events_url":"https://api.github.com/users/weilandia/events{/privacy}","received_events_url":"https://api.github.com/users/weilandia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/weilandia/little_owl","description":null,"fork":false,"url":"https://api.github.com/repos/weilandia/little_owl","forks_url":"https://api.github.com/repos/weilandia/little_owl/forks","keys_url":"https://api.github.com/repos/weilandia/little_owl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/weilandia/little_owl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/weilandia/little_owl/teams","hooks_url":"https://api.github.com/repos/weilandia/little_owl/hooks","issue_events_url":"https://api.github.com/repos/weilandia/little_owl/issues/events{/number}","events_url":"https://api.github.com/repos/weilandia/little_owl/events","assignees_url":"https://api.github.com/repos/weilandia/little_owl/assignees{/user}","branches_url":"https://api.github.com/repos/weilandia/little_owl/branches{/branch}","tags_url":"https://api.github.com/repos/weilandia/little_owl/tags","blobs_url":"https://api.github.com/repos/weilandia/little_owl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/weilandia/little_owl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/weilandia/little_owl/git/refs{/sha}","trees_url":"https://api.github.com/repos/weilandia/little_owl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/weilandia/little_owl/statuses/{sha}","languages_url":"https://api.github.com/repos/weilandia/little_owl/languages","stargazers_url":"https://api.github.com/repos/weilandia/little_owl/stargazers","contributors_url":"https://api.github.com/repos/weilandia/little_owl/contributors","subscribers_url":"https://api.github.com/repos/weilandia/little_owl/subscribers","subscription_url":"https://api.github.com/repos/weilandia/little_owl/subscription","commits_url":"https://api.github.com/repos/weilandia/little_owl/commits{/sha}","git_commits_url":"https://api.github.com/repos/weilandia/little_owl/git/commits{/sha}","comments_url":"https://api.github.com/repos/weilandia/little_owl/comments{/number}","issue_comment_url":"https://api.github.com/repos/weilandia/little_owl/issues/comments{/number}","contents_url":"https://api.github.com/repos/weilandia/little_owl/contents/{+path}","compare_url":"https://api.github.com/repos/weilandia/little_owl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/weilandia/little_owl/merges","archive_url":"https://api.github.com/repos/weilandia/little_owl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/weilandia/little_owl/downloads","issues_url":"https://api.github.com/repos/weilandia/little_owl/issues{/number}","pulls_url":"https://api.github.com/repos/weilandia/little_owl/pulls{/number}","milestones_url":"https://api.github.com/repos/weilandia/little_owl/milestones{/number}","notifications_url":"https://api.github.com/repos/weilandia/little_owl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/weilandia/little_owl/labels{/name}","releases_url":"https://api.github.com/repos/weilandia/little_owl/releases{/id}","deployments_url":"https://api.github.com/repos/weilandia/little_owl/deployments","created_at":"2016-02-29T20:13:25Z","updated_at":"2016-03-02T21:26:21Z","pushed_at":"2016-03-06T00:18:29Z","git_url":"git://github.com/weilandia/little_owl.git","ssh_url":"git@github.com:weilandia/little_owl.git","clone_url":"https://github.com/weilandia/little_owl.git","svn_url":"https://github.com/weilandia/little_owl","homepage":null,"size":549,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":18,"forks":1,"open_issues":18,"watchers":0,"default_branch":"master"}},"base":{"label":"weilandia:master","ref":"master","sha":"ea2d04afee3bfdca223a63b5e5d7002947f36f41","user":{"login":"weilandia","id":13652979,"avatar_url":"https://avatars.githubusercontent.com/u/13652979?v=3","gravatar_id":"","url":"https://api.github.com/users/weilandia","html_url":"https://github.com/weilandia","followers_url":"https://api.github.com/users/weilandia/followers","following_url":"https://api.github.com/users/weilandia/following{/other_user}","gists_url":"https://api.github.com/users/weilandia/gists{/gist_id}","starred_url":"https://api.github.com/users/weilandia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weilandia/subscriptions","organizations_url":"https://api.github.com/users/weilandia/orgs","repos_url":"https://api.github.com/users/weilandia/repos","events_url":"https://api.github.com/users/weilandia/events{/privacy}","received_events_url":"https://api.github.com/users/weilandia/received_events","type":"User","site_admin":false},"repo":{"id":52821317,"name":"little_owl","full_name":"weilandia/little_owl","owner":{"login":"weilandia","id":13652979,"avatar_url":"https://avatars.githubusercontent.com/u/13652979?v=3","gravatar_id":"","url":"https://api.github.com/users/weilandia","html_url":"https://github.com/weilandia","followers_url":"https://api.github.com/users/weilandia/followers","following_url":"https://api.github.com/users/weilandia/following{/other_user}","gists_url":"https://api.github.com/users/weilandia/gists{/gist_id}","starred_url":"https://api.github.com/users/weilandia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weilandia/subscriptions","organizations_url":"https://api.github.com/users/weilandia/orgs","repos_url":"https://api.github.com/users/weilandia/repos","events_url":"https://api.github.com/users/weilandia/events{/privacy}","received_events_url":"https://api.github.com/users/weilandia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/weilandia/little_owl","description":null,"fork":false,"url":"https://api.github.com/repos/weilandia/little_owl","forks_url":"https://api.github.com/repos/weilandia/little_owl/forks","keys_url":"https://api.github.com/repos/weilandia/little_owl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/weilandia/little_owl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/weilandia/little_owl/teams","hooks_url":"https://api.github.com/repos/weilandia/little_owl/hooks","issue_events_url":"https://api.github.com/repos/weilandia/little_owl/issues/events{/number}","events_url":"https://api.github.com/repos/weilandia/little_owl/events","assignees_url":"https://api.github.com/repos/weilandia/little_owl/assignees{/user}","branches_url":"https://api.github.com/repos/weilandia/little_owl/branches{/branch}","tags_url":"https://api.github.com/repos/weilandia/little_owl/tags","blobs_url":"https://api.github.com/repos/weilandia/little_owl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/weilandia/little_owl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/weilandia/little_owl/git/refs{/sha}","trees_url":"https://api.github.com/repos/weilandia/little_owl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/weilandia/little_owl/statuses/{sha}","languages_url":"https://api.github.com/repos/weilandia/little_owl/languages","stargazers_url":"https://api.github.com/repos/weilandia/little_owl/stargazers","contributors_url":"https://api.github.com/repos/weilandia/little_owl/contributors","subscribers_url":"https://api.github.com/repos/weilandia/little_owl/subscribers","subscription_url":"https://api.github.com/repos/weilandia/little_owl/subscription","commits_url":"https://api.github.com/repos/weilandia/little_owl/commits{/sha}","git_commits_url":"https://api.github.com/repos/weilandia/little_owl/git/commits{/sha}","comments_url":"https://api.github.com/repos/weilandia/little_owl/comments{/number}","issue_comment_url":"https://api.github.com/repos/weilandia/little_owl/issues/comments{/number}","contents_url":"https://api.github.com/repos/weilandia/little_owl/contents/{+path}","compare_url":"https://api.github.com/repos/weilandia/little_owl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/weilandia/little_owl/merges","archive_url":"https://api.github.com/repos/weilandia/little_owl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/weilandia/little_owl/downloads","issues_url":"https://api.github.com/repos/weilandia/little_owl/issues{/number}","pulls_url":"https://api.github.com/repos/weilandia/little_owl/pulls{/number}","milestones_url":"https://api.github.com/repos/weilandia/little_owl/milestones{/number}","notifications_url":"https://api.github.com/repos/weilandia/little_owl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/weilandia/little_owl/labels{/name}","releases_url":"https://api.github.com/repos/weilandia/little_owl/releases{/id}","deployments_url":"https://api.github.com/repos/weilandia/little_owl/deployments","created_at":"2016-02-29T20:13:25Z","updated_at":"2016-03-02T21:26:21Z","pushed_at":"2016-03-06T00:18:29Z","git_url":"git://github.com/weilandia/little_owl.git","ssh_url":"git@github.com:weilandia/little_owl.git","clone_url":"https://github.com/weilandia/little_owl.git","svn_url":"https://github.com/weilandia/little_owl","homepage":null,"size":549,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":18,"forks":1,"open_issues":18,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/weilandia/little_owl/pulls/68"},"html":{"href":"https://github.com/weilandia/little_owl/pull/68"},"issue":{"href":"https://api.github.com/repos/weilandia/little_owl/issues/68"},"comments":{"href":"https://api.github.com/repos/weilandia/little_owl/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/weilandia/little_owl/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/weilandia/little_owl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/weilandia/little_owl/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/weilandia/little_owl/statuses/5ba6e7def7b4ea13416e8bc7158f198543247c21"}}}}