{"action":"created","comment":{"url":"https://api.github.com/repos/AgileVentures/osra/pulls/comments/22425947","id":22425947,"diff_hunk":"@@ -17,3 +17,28 @@ def foobar_action\n     end\n   end\n end\n+\n+RSpec.describe Hq::PartnersController, type: :controller do\n+  before :each do\n+    sign_in instance_double(AdminUser)\n+    @partner = build_stubbed :partner\n+    expect(Partner).to receive(:find).and_return(@partner)","path":"spec/controllers/hq/partners_controller_spec.rb","position":9,"original_position":9,"commit_id":"d13743a85e73b51ef5ae3e4bea7294135f197f71","original_commit_id":"d13743a85e73b51ef5ae3e4bea7294135f197f71","user":{"login":"PurityControl","id":7509180,"avatar_url":"https://avatars.githubusercontent.com/u/7509180?v=3","gravatar_id":"","url":"https://api.github.com/users/PurityControl","html_url":"https://github.com/PurityControl","followers_url":"https://api.github.com/users/PurityControl/followers","following_url":"https://api.github.com/users/PurityControl/following{/other_user}","gists_url":"https://api.github.com/users/PurityControl/gists{/gist_id}","starred_url":"https://api.github.com/users/PurityControl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PurityControl/subscriptions","organizations_url":"https://api.github.com/users/PurityControl/orgs","repos_url":"https://api.github.com/users/PurityControl/repos","events_url":"https://api.github.com/users/PurityControl/events{/privacy}","received_events_url":"https://api.github.com/users/PurityControl/received_events","type":"User","site_admin":false},"body":"checked this as promised - if this line is removed then the tests fail","created_at":"2015-01-02T22:54:54Z","updated_at":"2015-01-02T22:54:54Z","html_url":"https://github.com/AgileVentures/osra/pull/252#discussion_r22425947","pull_request_url":"https://api.github.com/repos/AgileVentures/osra/pulls/252","_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/osra/pulls/comments/22425947"},"html":{"href":"https://github.com/AgileVentures/osra/pull/252#discussion_r22425947"},"pull_request":{"href":"https://api.github.com/repos/AgileVentures/osra/pulls/252"}}},"pull_request":{"url":"https://api.github.com/repos/AgileVentures/osra/pulls/252","id":26745334,"html_url":"https://github.com/AgileVentures/osra/pull/252","diff_url":"https://github.com/AgileVentures/osra/pull/252.diff","patch_url":"https://github.com/AgileVentures/osra/pull/252.patch","issue_url":"https://api.github.com/repos/AgileVentures/osra/issues/252","number":252,"state":"open","locked":false,"title":"Edit and Update partners https://osraav.atlassian.net/browse/OSRA-292","user":{"login":"PurityControl","id":7509180,"avatar_url":"https://avatars.githubusercontent.com/u/7509180?v=3","gravatar_id":"","url":"https://api.github.com/users/PurityControl","html_url":"https://github.com/PurityControl","followers_url":"https://api.github.com/users/PurityControl/followers","following_url":"https://api.github.com/users/PurityControl/following{/other_user}","gists_url":"https://api.github.com/users/PurityControl/gists{/gist_id}","starred_url":"https://api.github.com/users/PurityControl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PurityControl/subscriptions","organizations_url":"https://api.github.com/users/PurityControl/orgs","repos_url":"https://api.github.com/users/PurityControl/repos","events_url":"https://api.github.com/users/PurityControl/events{/privacy}","received_events_url":"https://api.github.com/users/PurityControl/received_events","type":"User","site_admin":false},"body":"implement partner edit update  https://osraav.atlassian.net/browse/OSRA-292\r\n\r\n- update redirects to show view so this is dependent on OSRA-290 #250 \r\n- partial for partners needs merged first #251 \r\n\r\nScreenshot below:-\r\n\r\n![screen shot 2015-01-01 at 18 38 53](https://cloud.githubusercontent.com/assets/7509180/5592993/b906b136-91e5-11e4-8e29-da48c30ba24e.png)\r\n","created_at":"2015-01-01T18:41:26Z","updated_at":"2015-01-02T22:54:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4044df11c1adcb8e499b634ee9054476dbfdfe7a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AgileVentures/osra/pulls/252/commits","review_comments_url":"https://api.github.com/repos/AgileVentures/osra/pulls/252/comments","review_comment_url":"https://api.github.com/repos/AgileVentures/osra/pulls/comments/{number}","comments_url":"https://api.github.com/repos/AgileVentures/osra/issues/252/comments","statuses_url":"https://api.github.com/repos/AgileVentures/osra/statuses/d13743a85e73b51ef5ae3e4bea7294135f197f71","head":{"label":"PurityControl:update_partners","ref":"update_partners","sha":"d13743a85e73b51ef5ae3e4bea7294135f197f71","user":{"login":"PurityControl","id":7509180,"avatar_url":"https://avatars.githubusercontent.com/u/7509180?v=3","gravatar_id":"","url":"https://api.github.com/users/PurityControl","html_url":"https://github.com/PurityControl","followers_url":"https://api.github.com/users/PurityControl/followers","following_url":"https://api.github.com/users/PurityControl/following{/other_user}","gists_url":"https://api.github.com/users/PurityControl/gists{/gist_id}","starred_url":"https://api.github.com/users/PurityControl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PurityControl/subscriptions","organizations_url":"https://api.github.com/users/PurityControl/orgs","repos_url":"https://api.github.com/users/PurityControl/repos","events_url":"https://api.github.com/users/PurityControl/events{/privacy}","received_events_url":"https://api.github.com/users/PurityControl/received_events","type":"User","site_admin":false},"repo":{"id":22786142,"name":"osra","full_name":"PurityControl/osra","owner":{"login":"PurityControl","id":7509180,"avatar_url":"https://avatars.githubusercontent.com/u/7509180?v=3","gravatar_id":"","url":"https://api.github.com/users/PurityControl","html_url":"https://github.com/PurityControl","followers_url":"https://api.github.com/users/PurityControl/followers","following_url":"https://api.github.com/users/PurityControl/following{/other_user}","gists_url":"https://api.github.com/users/PurityControl/gists{/gist_id}","starred_url":"https://api.github.com/users/PurityControl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PurityControl/subscriptions","organizations_url":"https://api.github.com/users/PurityControl/orgs","repos_url":"https://api.github.com/users/PurityControl/repos","events_url":"https://api.github.com/users/PurityControl/events{/privacy}","received_events_url":"https://api.github.com/users/PurityControl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PurityControl/osra","description":"Sponsor orphans in Syria & insure basic life & education requirements for Syrian children","fork":true,"url":"https://api.github.com/repos/PurityControl/osra","forks_url":"https://api.github.com/repos/PurityControl/osra/forks","keys_url":"https://api.github.com/repos/PurityControl/osra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PurityControl/osra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PurityControl/osra/teams","hooks_url":"https://api.github.com/repos/PurityControl/osra/hooks","issue_events_url":"https://api.github.com/repos/PurityControl/osra/issues/events{/number}","events_url":"https://api.github.com/repos/PurityControl/osra/events","assignees_url":"https://api.github.com/repos/PurityControl/osra/assignees{/user}","branches_url":"https://api.github.com/repos/PurityControl/osra/branches{/branch}","tags_url":"https://api.github.com/repos/PurityControl/osra/tags","blobs_url":"https://api.github.com/repos/PurityControl/osra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PurityControl/osra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PurityControl/osra/git/refs{/sha}","trees_url":"https://api.github.com/repos/PurityControl/osra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PurityControl/osra/statuses/{sha}","languages_url":"https://api.github.com/repos/PurityControl/osra/languages","stargazers_url":"https://api.github.com/repos/PurityControl/osra/stargazers","contributors_url":"https://api.github.com/repos/PurityControl/osra/contributors","subscribers_url":"https://api.github.com/repos/PurityControl/osra/subscribers","subscription_url":"https://api.github.com/repos/PurityControl/osra/subscription","commits_url":"https://api.github.com/repos/PurityControl/osra/commits{/sha}","git_commits_url":"https://api.github.com/repos/PurityControl/osra/git/commits{/sha}","comments_url":"https://api.github.com/repos/PurityControl/osra/comments{/number}","issue_comment_url":"https://api.github.com/repos/PurityControl/osra/issues/comments/{number}","contents_url":"https://api.github.com/repos/PurityControl/osra/contents/{+path}","compare_url":"https://api.github.com/repos/PurityControl/osra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PurityControl/osra/merges","archive_url":"https://api.github.com/repos/PurityControl/osra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PurityControl/osra/downloads","issues_url":"https://api.github.com/repos/PurityControl/osra/issues{/number}","pulls_url":"https://api.github.com/repos/PurityControl/osra/pulls{/number}","milestones_url":"https://api.github.com/repos/PurityControl/osra/milestones{/number}","notifications_url":"https://api.github.com/repos/PurityControl/osra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PurityControl/osra/labels{/name}","releases_url":"https://api.github.com/repos/PurityControl/osra/releases{/id}","created_at":"2014-08-09T12:54:57Z","updated_at":"2014-12-24T14:41:40Z","pushed_at":"2015-01-02T22:39:37Z","git_url":"git://github.com/PurityControl/osra.git","ssh_url":"git@github.com:PurityControl/osra.git","clone_url":"https://github.com/PurityControl/osra.git","svn_url":"https://github.com/PurityControl/osra","homepage":null,"size":2063,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"develop"}},"base":{"label":"AgileVentures:develop","ref":"develop","sha":"cd149f76eb6146d224c1b588be0ec0d7bcbef769","user":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?v=3","gravatar_id":"","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"repo":{"id":18855271,"name":"osra","full_name":"AgileVentures/osra","owner":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?v=3","gravatar_id":"","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AgileVentures/osra","description":"Sponsor orphans in Syria & ensure basic life & education requirements for Syrian children","fork":false,"url":"https://api.github.com/repos/AgileVentures/osra","forks_url":"https://api.github.com/repos/AgileVentures/osra/forks","keys_url":"https://api.github.com/repos/AgileVentures/osra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AgileVentures/osra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AgileVentures/osra/teams","hooks_url":"https://api.github.com/repos/AgileVentures/osra/hooks","issue_events_url":"https://api.github.com/repos/AgileVentures/osra/issues/events{/number}","events_url":"https://api.github.com/repos/AgileVentures/osra/events","assignees_url":"https://api.github.com/repos/AgileVentures/osra/assignees{/user}","branches_url":"https://api.github.com/repos/AgileVentures/osra/branches{/branch}","tags_url":"https://api.github.com/repos/AgileVentures/osra/tags","blobs_url":"https://api.github.com/repos/AgileVentures/osra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AgileVentures/osra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AgileVentures/osra/git/refs{/sha}","trees_url":"https://api.github.com/repos/AgileVentures/osra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AgileVentures/osra/statuses/{sha}","languages_url":"https://api.github.com/repos/AgileVentures/osra/languages","stargazers_url":"https://api.github.com/repos/AgileVentures/osra/stargazers","contributors_url":"https://api.github.com/repos/AgileVentures/osra/contributors","subscribers_url":"https://api.github.com/repos/AgileVentures/osra/subscribers","subscription_url":"https://api.github.com/repos/AgileVentures/osra/subscription","commits_url":"https://api.github.com/repos/AgileVentures/osra/commits{/sha}","git_commits_url":"https://api.github.com/repos/AgileVentures/osra/git/commits{/sha}","comments_url":"https://api.github.com/repos/AgileVentures/osra/comments{/number}","issue_comment_url":"https://api.github.com/repos/AgileVentures/osra/issues/comments/{number}","contents_url":"https://api.github.com/repos/AgileVentures/osra/contents/{+path}","compare_url":"https://api.github.com/repos/AgileVentures/osra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AgileVentures/osra/merges","archive_url":"https://api.github.com/repos/AgileVentures/osra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AgileVentures/osra/downloads","issues_url":"https://api.github.com/repos/AgileVentures/osra/issues{/number}","pulls_url":"https://api.github.com/repos/AgileVentures/osra/pulls{/number}","milestones_url":"https://api.github.com/repos/AgileVentures/osra/milestones{/number}","notifications_url":"https://api.github.com/repos/AgileVentures/osra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AgileVentures/osra/labels{/name}","releases_url":"https://api.github.com/repos/AgileVentures/osra/releases{/id}","created_at":"2014-04-16T20:43:09Z","updated_at":"2015-01-02T20:35:46Z","pushed_at":"2015-01-02T20:35:46Z","git_url":"git://github.com/AgileVentures/osra.git","ssh_url":"git@github.com:AgileVentures/osra.git","clone_url":"https://github.com/AgileVentures/osra.git","svn_url":"https://github.com/AgileVentures/osra","homepage":"","size":3790,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":9,"forks":28,"open_issues":9,"watchers":8,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/osra/pulls/252"},"html":{"href":"https://github.com/AgileVentures/osra/pull/252"},"issue":{"href":"https://api.github.com/repos/AgileVentures/osra/issues/252"},"comments":{"href":"https://api.github.com/repos/AgileVentures/osra/issues/252/comments"},"review_comments":{"href":"https://api.github.com/repos/AgileVentures/osra/pulls/252/comments"},"review_comment":{"href":"https://api.github.com/repos/AgileVentures/osra/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/AgileVentures/osra/pulls/252/commits"},"statuses":{"href":"https://api.github.com/repos/AgileVentures/osra/statuses/d13743a85e73b51ef5ae3e4bea7294135f197f71"}}}}