{"action":"created","comment":{"url":"https://api.github.com/repos/falonofthetower/howling-hematite/pulls/comments/37320464","id":37320464,"diff_hunk":"@@ -33,16 +23,18 @@\n       end\n \n       it \"sets the giver in the session\" do\n-        expect(session[:giver_id]).to eq(Giver.first.id)\n+        expect(session[:giver_id]).to eq(giver.id)\n       end\n \n-      it \"sets the giver's amount at the value donated\" do\n-        expect(Giver.last.amount).to eq(\"100.00\")\n+      it \"redirects to the giver's path\" do\n+        expect(response).to redirect_to(giver_path(giver.id))\n       end\n     end\n \n     context \"with invalid info\" do\n       before do\n+        result = double(:donate_result, success?: false, error_message: \"this is failure\")","path":"spec/controllers/givers_controller_spec.rb","position":45,"original_position":45,"commit_id":"c0a46d68f44afc6f59ed9068e5189731a669eff2","original_commit_id":"c0a46d68f44afc6f59ed9068e5189731a669eff2","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":"Line is too long. [90/80]","created_at":"2015-08-18T16:30:16Z","updated_at":"2015-08-18T16:30:16Z","html_url":"https://github.com/falonofthetower/howling-hematite/pull/16#discussion_r37320464","pull_request_url":"https://api.github.com/repos/falonofthetower/howling-hematite/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/falonofthetower/howling-hematite/pulls/comments/37320464"},"html":{"href":"https://github.com/falonofthetower/howling-hematite/pull/16#discussion_r37320464"},"pull_request":{"href":"https://api.github.com/repos/falonofthetower/howling-hematite/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/falonofthetower/howling-hematite/pulls/16","id":42719544,"html_url":"https://github.com/falonofthetower/howling-hematite/pull/16","diff_url":"https://github.com/falonofthetower/howling-hematite/pull/16.diff","patch_url":"https://github.com/falonofthetower/howling-hematite/pull/16.patch","issue_url":"https://api.github.com/repos/falonofthetower/howling-hematite/issues/16","number":16,"state":"open","locked":false,"title":"Admin","user":{"login":"falonofthetower","id":6103923,"avatar_url":"https://avatars.githubusercontent.com/u/6103923?v=3","gravatar_id":"","url":"https://api.github.com/users/falonofthetower","html_url":"https://github.com/falonofthetower","followers_url":"https://api.github.com/users/falonofthetower/followers","following_url":"https://api.github.com/users/falonofthetower/following{/other_user}","gists_url":"https://api.github.com/users/falonofthetower/gists{/gist_id}","starred_url":"https://api.github.com/users/falonofthetower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falonofthetower/subscriptions","organizations_url":"https://api.github.com/users/falonofthetower/orgs","repos_url":"https://api.github.com/users/falonofthetower/repos","events_url":"https://api.github.com/users/falonofthetower/events{/privacy}","received_events_url":"https://api.github.com/users/falonofthetower/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-18T16:30:07Z","updated_at":"2015-08-18T16:30:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c64d92759922de95b4a600ee6277bc64a6aab2ea","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/falonofthetower/howling-hematite/pulls/16/commits","review_comments_url":"https://api.github.com/repos/falonofthetower/howling-hematite/pulls/16/comments","review_comment_url":"https://api.github.com/repos/falonofthetower/howling-hematite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/falonofthetower/howling-hematite/issues/16/comments","statuses_url":"https://api.github.com/repos/falonofthetower/howling-hematite/statuses/c0a46d68f44afc6f59ed9068e5189731a669eff2","head":{"label":"falonofthetower:admin","ref":"admin","sha":"c0a46d68f44afc6f59ed9068e5189731a669eff2","user":{"login":"falonofthetower","id":6103923,"avatar_url":"https://avatars.githubusercontent.com/u/6103923?v=3","gravatar_id":"","url":"https://api.github.com/users/falonofthetower","html_url":"https://github.com/falonofthetower","followers_url":"https://api.github.com/users/falonofthetower/followers","following_url":"https://api.github.com/users/falonofthetower/following{/other_user}","gists_url":"https://api.github.com/users/falonofthetower/gists{/gist_id}","starred_url":"https://api.github.com/users/falonofthetower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falonofthetower/subscriptions","organizations_url":"https://api.github.com/users/falonofthetower/orgs","repos_url":"https://api.github.com/users/falonofthetower/repos","events_url":"https://api.github.com/users/falonofthetower/events{/privacy}","received_events_url":"https://api.github.com/users/falonofthetower/received_events","type":"User","site_admin":false},"repo":{"id":38580612,"name":"howling-hematite","full_name":"falonofthetower/howling-hematite","owner":{"login":"falonofthetower","id":6103923,"avatar_url":"https://avatars.githubusercontent.com/u/6103923?v=3","gravatar_id":"","url":"https://api.github.com/users/falonofthetower","html_url":"https://github.com/falonofthetower","followers_url":"https://api.github.com/users/falonofthetower/followers","following_url":"https://api.github.com/users/falonofthetower/following{/other_user}","gists_url":"https://api.github.com/users/falonofthetower/gists{/gist_id}","starred_url":"https://api.github.com/users/falonofthetower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falonofthetower/subscriptions","organizations_url":"https://api.github.com/users/falonofthetower/orgs","repos_url":"https://api.github.com/users/falonofthetower/repos","events_url":"https://api.github.com/users/falonofthetower/events{/privacy}","received_events_url":"https://api.github.com/users/falonofthetower/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/falonofthetower/howling-hematite","description":"Base site for processing donations to a cause with Braintree","fork":false,"url":"https://api.github.com/repos/falonofthetower/howling-hematite","forks_url":"https://api.github.com/repos/falonofthetower/howling-hematite/forks","keys_url":"https://api.github.com/repos/falonofthetower/howling-hematite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/falonofthetower/howling-hematite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/falonofthetower/howling-hematite/teams","hooks_url":"https://api.github.com/repos/falonofthetower/howling-hematite/hooks","issue_events_url":"https://api.github.com/repos/falonofthetower/howling-hematite/issues/events{/number}","events_url":"https://api.github.com/repos/falonofthetower/howling-hematite/events","assignees_url":"https://api.github.com/repos/falonofthetower/howling-hematite/assignees{/user}","branches_url":"https://api.github.com/repos/falonofthetower/howling-hematite/branches{/branch}","tags_url":"https://api.github.com/repos/falonofthetower/howling-hematite/tags","blobs_url":"https://api.github.com/repos/falonofthetower/howling-hematite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/falonofthetower/howling-hematite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/falonofthetower/howling-hematite/git/refs{/sha}","trees_url":"https://api.github.com/repos/falonofthetower/howling-hematite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/falonofthetower/howling-hematite/statuses/{sha}","languages_url":"https://api.github.com/repos/falonofthetower/howling-hematite/languages","stargazers_url":"https://api.github.com/repos/falonofthetower/howling-hematite/stargazers","contributors_url":"https://api.github.com/repos/falonofthetower/howling-hematite/contributors","subscribers_url":"https://api.github.com/repos/falonofthetower/howling-hematite/subscribers","subscription_url":"https://api.github.com/repos/falonofthetower/howling-hematite/subscription","commits_url":"https://api.github.com/repos/falonofthetower/howling-hematite/commits{/sha}","git_commits_url":"https://api.github.com/repos/falonofthetower/howling-hematite/git/commits{/sha}","comments_url":"https://api.github.com/repos/falonofthetower/howling-hematite/comments{/number}","issue_comment_url":"https://api.github.com/repos/falonofthetower/howling-hematite/issues/comments{/number}","contents_url":"https://api.github.com/repos/falonofthetower/howling-hematite/contents/{+path}","compare_url":"https://api.github.com/repos/falonofthetower/howling-hematite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/falonofthetower/howling-hematite/merges","archive_url":"https://api.github.com/repos/falonofthetower/howling-hematite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/falonofthetower/howling-hematite/downloads","issues_url":"https://api.github.com/repos/falonofthetower/howling-hematite/issues{/number}","pulls_url":"https://api.github.com/repos/falonofthetower/howling-hematite/pulls{/number}","milestones_url":"https://api.github.com/repos/falonofthetower/howling-hematite/milestones{/number}","notifications_url":"https://api.github.com/repos/falonofthetower/howling-hematite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/falonofthetower/howling-hematite/labels{/name}","releases_url":"https://api.github.com/repos/falonofthetower/howling-hematite/releases{/id}","created_at":"2015-07-05T19:12:26Z","updated_at":"2015-07-08T04:08:56Z","pushed_at":"2015-08-18T16:30:08Z","git_url":"git://github.com/falonofthetower/howling-hematite.git","ssh_url":"git@github.com:falonofthetower/howling-hematite.git","clone_url":"https://github.com/falonofthetower/howling-hematite.git","svn_url":"https://github.com/falonofthetower/howling-hematite","homepage":null,"size":328,"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":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"falonofthetower:master","ref":"master","sha":"04cee7ebc686c99488a2654b949dbf4d6c946115","user":{"login":"falonofthetower","id":6103923,"avatar_url":"https://avatars.githubusercontent.com/u/6103923?v=3","gravatar_id":"","url":"https://api.github.com/users/falonofthetower","html_url":"https://github.com/falonofthetower","followers_url":"https://api.github.com/users/falonofthetower/followers","following_url":"https://api.github.com/users/falonofthetower/following{/other_user}","gists_url":"https://api.github.com/users/falonofthetower/gists{/gist_id}","starred_url":"https://api.github.com/users/falonofthetower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falonofthetower/subscriptions","organizations_url":"https://api.github.com/users/falonofthetower/orgs","repos_url":"https://api.github.com/users/falonofthetower/repos","events_url":"https://api.github.com/users/falonofthetower/events{/privacy}","received_events_url":"https://api.github.com/users/falonofthetower/received_events","type":"User","site_admin":false},"repo":{"id":38580612,"name":"howling-hematite","full_name":"falonofthetower/howling-hematite","owner":{"login":"falonofthetower","id":6103923,"avatar_url":"https://avatars.githubusercontent.com/u/6103923?v=3","gravatar_id":"","url":"https://api.github.com/users/falonofthetower","html_url":"https://github.com/falonofthetower","followers_url":"https://api.github.com/users/falonofthetower/followers","following_url":"https://api.github.com/users/falonofthetower/following{/other_user}","gists_url":"https://api.github.com/users/falonofthetower/gists{/gist_id}","starred_url":"https://api.github.com/users/falonofthetower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falonofthetower/subscriptions","organizations_url":"https://api.github.com/users/falonofthetower/orgs","repos_url":"https://api.github.com/users/falonofthetower/repos","events_url":"https://api.github.com/users/falonofthetower/events{/privacy}","received_events_url":"https://api.github.com/users/falonofthetower/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/falonofthetower/howling-hematite","description":"Base site for processing donations to a cause with Braintree","fork":false,"url":"https://api.github.com/repos/falonofthetower/howling-hematite","forks_url":"https://api.github.com/repos/falonofthetower/howling-hematite/forks","keys_url":"https://api.github.com/repos/falonofthetower/howling-hematite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/falonofthetower/howling-hematite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/falonofthetower/howling-hematite/teams","hooks_url":"https://api.github.com/repos/falonofthetower/howling-hematite/hooks","issue_events_url":"https://api.github.com/repos/falonofthetower/howling-hematite/issues/events{/number}","events_url":"https://api.github.com/repos/falonofthetower/howling-hematite/events","assignees_url":"https://api.github.com/repos/falonofthetower/howling-hematite/assignees{/user}","branches_url":"https://api.github.com/repos/falonofthetower/howling-hematite/branches{/branch}","tags_url":"https://api.github.com/repos/falonofthetower/howling-hematite/tags","blobs_url":"https://api.github.com/repos/falonofthetower/howling-hematite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/falonofthetower/howling-hematite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/falonofthetower/howling-hematite/git/refs{/sha}","trees_url":"https://api.github.com/repos/falonofthetower/howling-hematite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/falonofthetower/howling-hematite/statuses/{sha}","languages_url":"https://api.github.com/repos/falonofthetower/howling-hematite/languages","stargazers_url":"https://api.github.com/repos/falonofthetower/howling-hematite/stargazers","contributors_url":"https://api.github.com/repos/falonofthetower/howling-hematite/contributors","subscribers_url":"https://api.github.com/repos/falonofthetower/howling-hematite/subscribers","subscription_url":"https://api.github.com/repos/falonofthetower/howling-hematite/subscription","commits_url":"https://api.github.com/repos/falonofthetower/howling-hematite/commits{/sha}","git_commits_url":"https://api.github.com/repos/falonofthetower/howling-hematite/git/commits{/sha}","comments_url":"https://api.github.com/repos/falonofthetower/howling-hematite/comments{/number}","issue_comment_url":"https://api.github.com/repos/falonofthetower/howling-hematite/issues/comments{/number}","contents_url":"https://api.github.com/repos/falonofthetower/howling-hematite/contents/{+path}","compare_url":"https://api.github.com/repos/falonofthetower/howling-hematite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/falonofthetower/howling-hematite/merges","archive_url":"https://api.github.com/repos/falonofthetower/howling-hematite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/falonofthetower/howling-hematite/downloads","issues_url":"https://api.github.com/repos/falonofthetower/howling-hematite/issues{/number}","pulls_url":"https://api.github.com/repos/falonofthetower/howling-hematite/pulls{/number}","milestones_url":"https://api.github.com/repos/falonofthetower/howling-hematite/milestones{/number}","notifications_url":"https://api.github.com/repos/falonofthetower/howling-hematite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/falonofthetower/howling-hematite/labels{/name}","releases_url":"https://api.github.com/repos/falonofthetower/howling-hematite/releases{/id}","created_at":"2015-07-05T19:12:26Z","updated_at":"2015-07-08T04:08:56Z","pushed_at":"2015-08-18T16:30:08Z","git_url":"git://github.com/falonofthetower/howling-hematite.git","ssh_url":"git@github.com:falonofthetower/howling-hematite.git","clone_url":"https://github.com/falonofthetower/howling-hematite.git","svn_url":"https://github.com/falonofthetower/howling-hematite","homepage":null,"size":328,"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":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/falonofthetower/howling-hematite/pulls/16"},"html":{"href":"https://github.com/falonofthetower/howling-hematite/pull/16"},"issue":{"href":"https://api.github.com/repos/falonofthetower/howling-hematite/issues/16"},"comments":{"href":"https://api.github.com/repos/falonofthetower/howling-hematite/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/falonofthetower/howling-hematite/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/falonofthetower/howling-hematite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/falonofthetower/howling-hematite/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/falonofthetower/howling-hematite/statuses/c0a46d68f44afc6f59ed9068e5189731a669eff2"}}}}