{"action":"created","comment":{"url":"https://api.github.com/repos/thefrontiergroup/rails-template/pulls/comments/49286337","id":49286337,"diff_hunk":"@@ -2,8 +2,9 @@\n \n RSpec.describe ApplicationPolicy do\n   subject { policy }\n-  let(:policy) { ApplicationPolicy.new(user, target_user) }\n-  let(:target_user) { user }\n+  let(:policy) { ApplicationPolicy.new(user, unused_object) }\n+  #target object is not used in the policy, however pundit requires two objects to be passed in","path":"spec/authorization/policies/application_policy_spec.rb","position":7,"original_position":7,"commit_id":"fb872e859c62c376d9db4fd5f0943477497d4bbe","original_commit_id":"fb872e859c62c376d9db4fd5f0943477497d4bbe","user":{"login":"pzi","id":2037851,"avatar_url":"https://avatars.githubusercontent.com/u/2037851?v=3","gravatar_id":"","url":"https://api.github.com/users/pzi","html_url":"https://github.com/pzi","followers_url":"https://api.github.com/users/pzi/followers","following_url":"https://api.github.com/users/pzi/following{/other_user}","gists_url":"https://api.github.com/users/pzi/gists{/gist_id}","starred_url":"https://api.github.com/users/pzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzi/subscriptions","organizations_url":"https://api.github.com/users/pzi/orgs","repos_url":"https://api.github.com/users/pzi/repos","events_url":"https://api.github.com/users/pzi/events{/privacy}","received_events_url":"https://api.github.com/users/pzi/received_events","type":"User","site_admin":false},"body":"[PP] Space after # / before comment copy","created_at":"2016-01-11T02:12:21Z","updated_at":"2016-01-11T02:12:21Z","html_url":"https://github.com/thefrontiergroup/rails-template/pull/76#discussion_r49286337","pull_request_url":"https://api.github.com/repos/thefrontiergroup/rails-template/pulls/76","_links":{"self":{"href":"https://api.github.com/repos/thefrontiergroup/rails-template/pulls/comments/49286337"},"html":{"href":"https://github.com/thefrontiergroup/rails-template/pull/76#discussion_r49286337"},"pull_request":{"href":"https://api.github.com/repos/thefrontiergroup/rails-template/pulls/76"}}},"pull_request":{"url":"https://api.github.com/repos/thefrontiergroup/rails-template/pulls/76","id":55293422,"html_url":"https://github.com/thefrontiergroup/rails-template/pull/76","diff_url":"https://github.com/thefrontiergroup/rails-template/pull/76.diff","patch_url":"https://github.com/thefrontiergroup/rails-template/pull/76.patch","issue_url":"https://api.github.com/repos/thefrontiergroup/rails-template/issues/76","number":76,"state":"closed","locked":false,"title":"Updated authorization specs and policy scope in tests…","user":{"login":"jgunnink","id":8016590,"avatar_url":"https://avatars.githubusercontent.com/u/8016590?v=3","gravatar_id":"","url":"https://api.github.com/users/jgunnink","html_url":"https://github.com/jgunnink","followers_url":"https://api.github.com/users/jgunnink/followers","following_url":"https://api.github.com/users/jgunnink/following{/other_user}","gists_url":"https://api.github.com/users/jgunnink/gists{/gist_id}","starred_url":"https://api.github.com/users/jgunnink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgunnink/subscriptions","organizations_url":"https://api.github.com/users/jgunnink/orgs","repos_url":"https://api.github.com/users/jgunnink/repos","events_url":"https://api.github.com/users/jgunnink/events{/privacy}","received_events_url":"https://api.github.com/users/jgunnink/received_events","type":"User","site_admin":false},"body":"… for better clarity and understanding","created_at":"2016-01-07T02:38:40Z","updated_at":"2016-01-11T02:12:21Z","closed_at":"2016-01-07T02:49:03Z","merged_at":"2016-01-07T02:49:03Z","merge_commit_sha":"98f746f19890750fae7248f447339c2adc55b976","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thefrontiergroup/rails-template/pulls/76/commits","review_comments_url":"https://api.github.com/repos/thefrontiergroup/rails-template/pulls/76/comments","review_comment_url":"https://api.github.com/repos/thefrontiergroup/rails-template/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thefrontiergroup/rails-template/issues/76/comments","statuses_url":"https://api.github.com/repos/thefrontiergroup/rails-template/statuses/fb872e859c62c376d9db4fd5f0943477497d4bbe","head":{"label":"thefrontiergroup:feature/update_policy_and_auth_specs","ref":"feature/update_policy_and_auth_specs","sha":"fb872e859c62c376d9db4fd5f0943477497d4bbe","user":{"login":"thefrontiergroup","id":90945,"avatar_url":"https://avatars.githubusercontent.com/u/90945?v=3","gravatar_id":"","url":"https://api.github.com/users/thefrontiergroup","html_url":"https://github.com/thefrontiergroup","followers_url":"https://api.github.com/users/thefrontiergroup/followers","following_url":"https://api.github.com/users/thefrontiergroup/following{/other_user}","gists_url":"https://api.github.com/users/thefrontiergroup/gists{/gist_id}","starred_url":"https://api.github.com/users/thefrontiergroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefrontiergroup/subscriptions","organizations_url":"https://api.github.com/users/thefrontiergroup/orgs","repos_url":"https://api.github.com/users/thefrontiergroup/repos","events_url":"https://api.github.com/users/thefrontiergroup/events{/privacy}","received_events_url":"https://api.github.com/users/thefrontiergroup/received_events","type":"Organization","site_admin":false},"repo":{"id":20246482,"name":"rails-template","full_name":"thefrontiergroup/rails-template","owner":{"login":"thefrontiergroup","id":90945,"avatar_url":"https://avatars.githubusercontent.com/u/90945?v=3","gravatar_id":"","url":"https://api.github.com/users/thefrontiergroup","html_url":"https://github.com/thefrontiergroup","followers_url":"https://api.github.com/users/thefrontiergroup/followers","following_url":"https://api.github.com/users/thefrontiergroup/following{/other_user}","gists_url":"https://api.github.com/users/thefrontiergroup/gists{/gist_id}","starred_url":"https://api.github.com/users/thefrontiergroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefrontiergroup/subscriptions","organizations_url":"https://api.github.com/users/thefrontiergroup/orgs","repos_url":"https://api.github.com/users/thefrontiergroup/repos","events_url":"https://api.github.com/users/thefrontiergroup/events{/privacy}","received_events_url":"https://api.github.com/users/thefrontiergroup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thefrontiergroup/rails-template","description":"This is a Rails 4.1 template application configured with The Frontier Group SOE","fork":false,"url":"https://api.github.com/repos/thefrontiergroup/rails-template","forks_url":"https://api.github.com/repos/thefrontiergroup/rails-template/forks","keys_url":"https://api.github.com/repos/thefrontiergroup/rails-template/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thefrontiergroup/rails-template/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thefrontiergroup/rails-template/teams","hooks_url":"https://api.github.com/repos/thefrontiergroup/rails-template/hooks","issue_events_url":"https://api.github.com/repos/thefrontiergroup/rails-template/issues/events{/number}","events_url":"https://api.github.com/repos/thefrontiergroup/rails-template/events","assignees_url":"https://api.github.com/repos/thefrontiergroup/rails-template/assignees{/user}","branches_url":"https://api.github.com/repos/thefrontiergroup/rails-template/branches{/branch}","tags_url":"https://api.github.com/repos/thefrontiergroup/rails-template/tags","blobs_url":"https://api.github.com/repos/thefrontiergroup/rails-template/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thefrontiergroup/rails-template/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thefrontiergroup/rails-template/git/refs{/sha}","trees_url":"https://api.github.com/repos/thefrontiergroup/rails-template/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thefrontiergroup/rails-template/statuses/{sha}","languages_url":"https://api.github.com/repos/thefrontiergroup/rails-template/languages","stargazers_url":"https://api.github.com/repos/thefrontiergroup/rails-template/stargazers","contributors_url":"https://api.github.com/repos/thefrontiergroup/rails-template/contributors","subscribers_url":"https://api.github.com/repos/thefrontiergroup/rails-template/subscribers","subscription_url":"https://api.github.com/repos/thefrontiergroup/rails-template/subscription","commits_url":"https://api.github.com/repos/thefrontiergroup/rails-template/commits{/sha}","git_commits_url":"https://api.github.com/repos/thefrontiergroup/rails-template/git/commits{/sha}","comments_url":"https://api.github.com/repos/thefrontiergroup/rails-template/comments{/number}","issue_comment_url":"https://api.github.com/repos/thefrontiergroup/rails-template/issues/comments{/number}","contents_url":"https://api.github.com/repos/thefrontiergroup/rails-template/contents/{+path}","compare_url":"https://api.github.com/repos/thefrontiergroup/rails-template/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thefrontiergroup/rails-template/merges","archive_url":"https://api.github.com/repos/thefrontiergroup/rails-template/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thefrontiergroup/rails-template/downloads","issues_url":"https://api.github.com/repos/thefrontiergroup/rails-template/issues{/number}","pulls_url":"https://api.github.com/repos/thefrontiergroup/rails-template/pulls{/number}","milestones_url":"https://api.github.com/repos/thefrontiergroup/rails-template/milestones{/number}","notifications_url":"https://api.github.com/repos/thefrontiergroup/rails-template/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thefrontiergroup/rails-template/labels{/name}","releases_url":"https://api.github.com/repos/thefrontiergroup/rails-template/releases{/id}","created_at":"2014-05-28T05:47:05Z","updated_at":"2015-08-02T11:14:56Z","pushed_at":"2016-01-07T02:50:02Z","git_url":"git://github.com/thefrontiergroup/rails-template.git","ssh_url":"git@github.com:thefrontiergroup/rails-template.git","clone_url":"https://github.com/thefrontiergroup/rails-template.git","svn_url":"https://github.com/thefrontiergroup/rails-template","homepage":null,"size":432,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":13,"forks":2,"open_issues":13,"watchers":1,"default_branch":"master"}},"base":{"label":"thefrontiergroup:master","ref":"master","sha":"6e5301a965175dfe7c02c36245f2fd290ab5e4f8","user":{"login":"thefrontiergroup","id":90945,"avatar_url":"https://avatars.githubusercontent.com/u/90945?v=3","gravatar_id":"","url":"https://api.github.com/users/thefrontiergroup","html_url":"https://github.com/thefrontiergroup","followers_url":"https://api.github.com/users/thefrontiergroup/followers","following_url":"https://api.github.com/users/thefrontiergroup/following{/other_user}","gists_url":"https://api.github.com/users/thefrontiergroup/gists{/gist_id}","starred_url":"https://api.github.com/users/thefrontiergroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefrontiergroup/subscriptions","organizations_url":"https://api.github.com/users/thefrontiergroup/orgs","repos_url":"https://api.github.com/users/thefrontiergroup/repos","events_url":"https://api.github.com/users/thefrontiergroup/events{/privacy}","received_events_url":"https://api.github.com/users/thefrontiergroup/received_events","type":"Organization","site_admin":false},"repo":{"id":20246482,"name":"rails-template","full_name":"thefrontiergroup/rails-template","owner":{"login":"thefrontiergroup","id":90945,"avatar_url":"https://avatars.githubusercontent.com/u/90945?v=3","gravatar_id":"","url":"https://api.github.com/users/thefrontiergroup","html_url":"https://github.com/thefrontiergroup","followers_url":"https://api.github.com/users/thefrontiergroup/followers","following_url":"https://api.github.com/users/thefrontiergroup/following{/other_user}","gists_url":"https://api.github.com/users/thefrontiergroup/gists{/gist_id}","starred_url":"https://api.github.com/users/thefrontiergroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefrontiergroup/subscriptions","organizations_url":"https://api.github.com/users/thefrontiergroup/orgs","repos_url":"https://api.github.com/users/thefrontiergroup/repos","events_url":"https://api.github.com/users/thefrontiergroup/events{/privacy}","received_events_url":"https://api.github.com/users/thefrontiergroup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thefrontiergroup/rails-template","description":"This is a Rails 4.1 template application configured with The Frontier Group SOE","fork":false,"url":"https://api.github.com/repos/thefrontiergroup/rails-template","forks_url":"https://api.github.com/repos/thefrontiergroup/rails-template/forks","keys_url":"https://api.github.com/repos/thefrontiergroup/rails-template/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thefrontiergroup/rails-template/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thefrontiergroup/rails-template/teams","hooks_url":"https://api.github.com/repos/thefrontiergroup/rails-template/hooks","issue_events_url":"https://api.github.com/repos/thefrontiergroup/rails-template/issues/events{/number}","events_url":"https://api.github.com/repos/thefrontiergroup/rails-template/events","assignees_url":"https://api.github.com/repos/thefrontiergroup/rails-template/assignees{/user}","branches_url":"https://api.github.com/repos/thefrontiergroup/rails-template/branches{/branch}","tags_url":"https://api.github.com/repos/thefrontiergroup/rails-template/tags","blobs_url":"https://api.github.com/repos/thefrontiergroup/rails-template/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thefrontiergroup/rails-template/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thefrontiergroup/rails-template/git/refs{/sha}","trees_url":"https://api.github.com/repos/thefrontiergroup/rails-template/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thefrontiergroup/rails-template/statuses/{sha}","languages_url":"https://api.github.com/repos/thefrontiergroup/rails-template/languages","stargazers_url":"https://api.github.com/repos/thefrontiergroup/rails-template/stargazers","contributors_url":"https://api.github.com/repos/thefrontiergroup/rails-template/contributors","subscribers_url":"https://api.github.com/repos/thefrontiergroup/rails-template/subscribers","subscription_url":"https://api.github.com/repos/thefrontiergroup/rails-template/subscription","commits_url":"https://api.github.com/repos/thefrontiergroup/rails-template/commits{/sha}","git_commits_url":"https://api.github.com/repos/thefrontiergroup/rails-template/git/commits{/sha}","comments_url":"https://api.github.com/repos/thefrontiergroup/rails-template/comments{/number}","issue_comment_url":"https://api.github.com/repos/thefrontiergroup/rails-template/issues/comments{/number}","contents_url":"https://api.github.com/repos/thefrontiergroup/rails-template/contents/{+path}","compare_url":"https://api.github.com/repos/thefrontiergroup/rails-template/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thefrontiergroup/rails-template/merges","archive_url":"https://api.github.com/repos/thefrontiergroup/rails-template/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thefrontiergroup/rails-template/downloads","issues_url":"https://api.github.com/repos/thefrontiergroup/rails-template/issues{/number}","pulls_url":"https://api.github.com/repos/thefrontiergroup/rails-template/pulls{/number}","milestones_url":"https://api.github.com/repos/thefrontiergroup/rails-template/milestones{/number}","notifications_url":"https://api.github.com/repos/thefrontiergroup/rails-template/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thefrontiergroup/rails-template/labels{/name}","releases_url":"https://api.github.com/repos/thefrontiergroup/rails-template/releases{/id}","created_at":"2014-05-28T05:47:05Z","updated_at":"2015-08-02T11:14:56Z","pushed_at":"2016-01-07T02:50:02Z","git_url":"git://github.com/thefrontiergroup/rails-template.git","ssh_url":"git@github.com:thefrontiergroup/rails-template.git","clone_url":"https://github.com/thefrontiergroup/rails-template.git","svn_url":"https://github.com/thefrontiergroup/rails-template","homepage":null,"size":432,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":13,"forks":2,"open_issues":13,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thefrontiergroup/rails-template/pulls/76"},"html":{"href":"https://github.com/thefrontiergroup/rails-template/pull/76"},"issue":{"href":"https://api.github.com/repos/thefrontiergroup/rails-template/issues/76"},"comments":{"href":"https://api.github.com/repos/thefrontiergroup/rails-template/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/thefrontiergroup/rails-template/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/thefrontiergroup/rails-template/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thefrontiergroup/rails-template/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/thefrontiergroup/rails-template/statuses/fb872e859c62c376d9db4fd5f0943477497d4bbe"}}}}