{"action":"created","comment":{"url":"https://api.github.com/repos/concreteface/recswithparks/pulls/comments/59612204","id":59612204,"diff_hunk":"@@ -38,4 +38,11 @@\n     find(\"div#user-#{@user.id}\").click\n     expect(page).to_not have_content(@user.email)\n   end\n+\n+  scenario \"non admin user can't access page\" do\n+    login_as(@user)\n+\n+    visit users_path\n+    expect(page).to have_content('You lack the necessary permission to view this page')","path":"spec/features/admin_deletes_content_spec.rb","position":9,"original_position":9,"commit_id":"f897d3873e356bdabafda6a58340d2d9a7230976","original_commit_id":"7aa4f0a59d2b545ce8af192f6a0b4522211149d1","user":{"login":"dreamingfurther","id":1883346,"avatar_url":"https://avatars.githubusercontent.com/u/1883346?v=3","gravatar_id":"","url":"https://api.github.com/users/dreamingfurther","html_url":"https://github.com/dreamingfurther","followers_url":"https://api.github.com/users/dreamingfurther/followers","following_url":"https://api.github.com/users/dreamingfurther/following{/other_user}","gists_url":"https://api.github.com/users/dreamingfurther/gists{/gist_id}","starred_url":"https://api.github.com/users/dreamingfurther/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreamingfurther/subscriptions","organizations_url":"https://api.github.com/users/dreamingfurther/orgs","repos_url":"https://api.github.com/users/dreamingfurther/repos","events_url":"https://api.github.com/users/dreamingfurther/events{/privacy}","received_events_url":"https://api.github.com/users/dreamingfurther/received_events","type":"User","site_admin":false},"body":"this is a nice guideline to follow. please fix.","created_at":"2016-04-13T19:43:23Z","updated_at":"2016-04-13T19:43:23Z","html_url":"https://github.com/concreteface/recswithparks/pull/21#discussion_r59612204","pull_request_url":"https://api.github.com/repos/concreteface/recswithparks/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/concreteface/recswithparks/pulls/comments/59612204"},"html":{"href":"https://github.com/concreteface/recswithparks/pull/21#discussion_r59612204"},"pull_request":{"href":"https://api.github.com/repos/concreteface/recswithparks/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/concreteface/recswithparks/pulls/21","id":66378094,"html_url":"https://github.com/concreteface/recswithparks/pull/21","diff_url":"https://github.com/concreteface/recswithparks/pull/21.diff","patch_url":"https://github.com/concreteface/recswithparks/pull/21.patch","issue_url":"https://api.github.com/repos/concreteface/recswithparks/issues/21","number":21,"state":"open","locked":false,"title":"added several tests for various things","user":{"login":"concreteface","id":4112690,"avatar_url":"https://avatars.githubusercontent.com/u/4112690?v=3","gravatar_id":"","url":"https://api.github.com/users/concreteface","html_url":"https://github.com/concreteface","followers_url":"https://api.github.com/users/concreteface/followers","following_url":"https://api.github.com/users/concreteface/following{/other_user}","gists_url":"https://api.github.com/users/concreteface/gists{/gist_id}","starred_url":"https://api.github.com/users/concreteface/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concreteface/subscriptions","organizations_url":"https://api.github.com/users/concreteface/orgs","repos_url":"https://api.github.com/users/concreteface/repos","events_url":"https://api.github.com/users/concreteface/events{/privacy}","received_events_url":"https://api.github.com/users/concreteface/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-13T19:33:15Z","updated_at":"2016-04-13T19:43:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8ff7959810ceeacfe8c1d1789693b4fa66dfece3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/concreteface/recswithparks/pulls/21/commits","review_comments_url":"https://api.github.com/repos/concreteface/recswithparks/pulls/21/comments","review_comment_url":"https://api.github.com/repos/concreteface/recswithparks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/concreteface/recswithparks/issues/21/comments","statuses_url":"https://api.github.com/repos/concreteface/recswithparks/statuses/f897d3873e356bdabafda6a58340d2d9a7230976","head":{"label":"concreteface:coverage","ref":"coverage","sha":"f897d3873e356bdabafda6a58340d2d9a7230976","user":{"login":"concreteface","id":4112690,"avatar_url":"https://avatars.githubusercontent.com/u/4112690?v=3","gravatar_id":"","url":"https://api.github.com/users/concreteface","html_url":"https://github.com/concreteface","followers_url":"https://api.github.com/users/concreteface/followers","following_url":"https://api.github.com/users/concreteface/following{/other_user}","gists_url":"https://api.github.com/users/concreteface/gists{/gist_id}","starred_url":"https://api.github.com/users/concreteface/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concreteface/subscriptions","organizations_url":"https://api.github.com/users/concreteface/orgs","repos_url":"https://api.github.com/users/concreteface/repos","events_url":"https://api.github.com/users/concreteface/events{/privacy}","received_events_url":"https://api.github.com/users/concreteface/received_events","type":"User","site_admin":false},"repo":{"id":55421990,"name":"recswithparks","full_name":"concreteface/recswithparks","owner":{"login":"concreteface","id":4112690,"avatar_url":"https://avatars.githubusercontent.com/u/4112690?v=3","gravatar_id":"","url":"https://api.github.com/users/concreteface","html_url":"https://github.com/concreteface","followers_url":"https://api.github.com/users/concreteface/followers","following_url":"https://api.github.com/users/concreteface/following{/other_user}","gists_url":"https://api.github.com/users/concreteface/gists{/gist_id}","starred_url":"https://api.github.com/users/concreteface/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concreteface/subscriptions","organizations_url":"https://api.github.com/users/concreteface/orgs","repos_url":"https://api.github.com/users/concreteface/repos","events_url":"https://api.github.com/users/concreteface/events{/privacy}","received_events_url":"https://api.github.com/users/concreteface/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/concreteface/recswithparks","description":"","fork":false,"url":"https://api.github.com/repos/concreteface/recswithparks","forks_url":"https://api.github.com/repos/concreteface/recswithparks/forks","keys_url":"https://api.github.com/repos/concreteface/recswithparks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/concreteface/recswithparks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/concreteface/recswithparks/teams","hooks_url":"https://api.github.com/repos/concreteface/recswithparks/hooks","issue_events_url":"https://api.github.com/repos/concreteface/recswithparks/issues/events{/number}","events_url":"https://api.github.com/repos/concreteface/recswithparks/events","assignees_url":"https://api.github.com/repos/concreteface/recswithparks/assignees{/user}","branches_url":"https://api.github.com/repos/concreteface/recswithparks/branches{/branch}","tags_url":"https://api.github.com/repos/concreteface/recswithparks/tags","blobs_url":"https://api.github.com/repos/concreteface/recswithparks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/concreteface/recswithparks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/concreteface/recswithparks/git/refs{/sha}","trees_url":"https://api.github.com/repos/concreteface/recswithparks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/concreteface/recswithparks/statuses/{sha}","languages_url":"https://api.github.com/repos/concreteface/recswithparks/languages","stargazers_url":"https://api.github.com/repos/concreteface/recswithparks/stargazers","contributors_url":"https://api.github.com/repos/concreteface/recswithparks/contributors","subscribers_url":"https://api.github.com/repos/concreteface/recswithparks/subscribers","subscription_url":"https://api.github.com/repos/concreteface/recswithparks/subscription","commits_url":"https://api.github.com/repos/concreteface/recswithparks/commits{/sha}","git_commits_url":"https://api.github.com/repos/concreteface/recswithparks/git/commits{/sha}","comments_url":"https://api.github.com/repos/concreteface/recswithparks/comments{/number}","issue_comment_url":"https://api.github.com/repos/concreteface/recswithparks/issues/comments{/number}","contents_url":"https://api.github.com/repos/concreteface/recswithparks/contents/{+path}","compare_url":"https://api.github.com/repos/concreteface/recswithparks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/concreteface/recswithparks/merges","archive_url":"https://api.github.com/repos/concreteface/recswithparks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/concreteface/recswithparks/downloads","issues_url":"https://api.github.com/repos/concreteface/recswithparks/issues{/number}","pulls_url":"https://api.github.com/repos/concreteface/recswithparks/pulls{/number}","milestones_url":"https://api.github.com/repos/concreteface/recswithparks/milestones{/number}","notifications_url":"https://api.github.com/repos/concreteface/recswithparks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/concreteface/recswithparks/labels{/name}","releases_url":"https://api.github.com/repos/concreteface/recswithparks/releases{/id}","deployments_url":"https://api.github.com/repos/concreteface/recswithparks/deployments","created_at":"2016-04-04T15:20:23Z","updated_at":"2016-04-04T15:21:37Z","pushed_at":"2016-04-13T19:37:07Z","git_url":"git://github.com/concreteface/recswithparks.git","ssh_url":"git@github.com:concreteface/recswithparks.git","clone_url":"https://github.com/concreteface/recswithparks.git","svn_url":"https://github.com/concreteface/recswithparks","homepage":null,"size":3187,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"concreteface:master","ref":"master","sha":"0b97c1f8607b09a487930a57a52b62a49fc7b8e7","user":{"login":"concreteface","id":4112690,"avatar_url":"https://avatars.githubusercontent.com/u/4112690?v=3","gravatar_id":"","url":"https://api.github.com/users/concreteface","html_url":"https://github.com/concreteface","followers_url":"https://api.github.com/users/concreteface/followers","following_url":"https://api.github.com/users/concreteface/following{/other_user}","gists_url":"https://api.github.com/users/concreteface/gists{/gist_id}","starred_url":"https://api.github.com/users/concreteface/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concreteface/subscriptions","organizations_url":"https://api.github.com/users/concreteface/orgs","repos_url":"https://api.github.com/users/concreteface/repos","events_url":"https://api.github.com/users/concreteface/events{/privacy}","received_events_url":"https://api.github.com/users/concreteface/received_events","type":"User","site_admin":false},"repo":{"id":55421990,"name":"recswithparks","full_name":"concreteface/recswithparks","owner":{"login":"concreteface","id":4112690,"avatar_url":"https://avatars.githubusercontent.com/u/4112690?v=3","gravatar_id":"","url":"https://api.github.com/users/concreteface","html_url":"https://github.com/concreteface","followers_url":"https://api.github.com/users/concreteface/followers","following_url":"https://api.github.com/users/concreteface/following{/other_user}","gists_url":"https://api.github.com/users/concreteface/gists{/gist_id}","starred_url":"https://api.github.com/users/concreteface/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concreteface/subscriptions","organizations_url":"https://api.github.com/users/concreteface/orgs","repos_url":"https://api.github.com/users/concreteface/repos","events_url":"https://api.github.com/users/concreteface/events{/privacy}","received_events_url":"https://api.github.com/users/concreteface/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/concreteface/recswithparks","description":"","fork":false,"url":"https://api.github.com/repos/concreteface/recswithparks","forks_url":"https://api.github.com/repos/concreteface/recswithparks/forks","keys_url":"https://api.github.com/repos/concreteface/recswithparks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/concreteface/recswithparks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/concreteface/recswithparks/teams","hooks_url":"https://api.github.com/repos/concreteface/recswithparks/hooks","issue_events_url":"https://api.github.com/repos/concreteface/recswithparks/issues/events{/number}","events_url":"https://api.github.com/repos/concreteface/recswithparks/events","assignees_url":"https://api.github.com/repos/concreteface/recswithparks/assignees{/user}","branches_url":"https://api.github.com/repos/concreteface/recswithparks/branches{/branch}","tags_url":"https://api.github.com/repos/concreteface/recswithparks/tags","blobs_url":"https://api.github.com/repos/concreteface/recswithparks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/concreteface/recswithparks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/concreteface/recswithparks/git/refs{/sha}","trees_url":"https://api.github.com/repos/concreteface/recswithparks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/concreteface/recswithparks/statuses/{sha}","languages_url":"https://api.github.com/repos/concreteface/recswithparks/languages","stargazers_url":"https://api.github.com/repos/concreteface/recswithparks/stargazers","contributors_url":"https://api.github.com/repos/concreteface/recswithparks/contributors","subscribers_url":"https://api.github.com/repos/concreteface/recswithparks/subscribers","subscription_url":"https://api.github.com/repos/concreteface/recswithparks/subscription","commits_url":"https://api.github.com/repos/concreteface/recswithparks/commits{/sha}","git_commits_url":"https://api.github.com/repos/concreteface/recswithparks/git/commits{/sha}","comments_url":"https://api.github.com/repos/concreteface/recswithparks/comments{/number}","issue_comment_url":"https://api.github.com/repos/concreteface/recswithparks/issues/comments{/number}","contents_url":"https://api.github.com/repos/concreteface/recswithparks/contents/{+path}","compare_url":"https://api.github.com/repos/concreteface/recswithparks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/concreteface/recswithparks/merges","archive_url":"https://api.github.com/repos/concreteface/recswithparks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/concreteface/recswithparks/downloads","issues_url":"https://api.github.com/repos/concreteface/recswithparks/issues{/number}","pulls_url":"https://api.github.com/repos/concreteface/recswithparks/pulls{/number}","milestones_url":"https://api.github.com/repos/concreteface/recswithparks/milestones{/number}","notifications_url":"https://api.github.com/repos/concreteface/recswithparks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/concreteface/recswithparks/labels{/name}","releases_url":"https://api.github.com/repos/concreteface/recswithparks/releases{/id}","deployments_url":"https://api.github.com/repos/concreteface/recswithparks/deployments","created_at":"2016-04-04T15:20:23Z","updated_at":"2016-04-04T15:21:37Z","pushed_at":"2016-04-13T19:37:07Z","git_url":"git://github.com/concreteface/recswithparks.git","ssh_url":"git@github.com:concreteface/recswithparks.git","clone_url":"https://github.com/concreteface/recswithparks.git","svn_url":"https://github.com/concreteface/recswithparks","homepage":null,"size":3187,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/concreteface/recswithparks/pulls/21"},"html":{"href":"https://github.com/concreteface/recswithparks/pull/21"},"issue":{"href":"https://api.github.com/repos/concreteface/recswithparks/issues/21"},"comments":{"href":"https://api.github.com/repos/concreteface/recswithparks/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/concreteface/recswithparks/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/concreteface/recswithparks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/concreteface/recswithparks/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/concreteface/recswithparks/statuses/f897d3873e356bdabafda6a58340d2d9a7230976"}}}}