{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/jnormington/mimiq/pulls/5","id":37631456,"html_url":"https://github.com/jnormington/mimiq/pull/5","diff_url":"https://github.com/jnormington/mimiq/pull/5.diff","patch_url":"https://github.com/jnormington/mimiq/pull/5.patch","issue_url":"https://api.github.com/repos/jnormington/mimiq/issues/5","number":5,"state":"closed","locked":false,"title":"Handle post scenario","user":{"login":"jnormington","id":4930249,"avatar_url":"https://avatars.githubusercontent.com/u/4930249?v=3","gravatar_id":"","url":"https://api.github.com/users/jnormington","html_url":"https://github.com/jnormington","followers_url":"https://api.github.com/users/jnormington/followers","following_url":"https://api.github.com/users/jnormington/following{/other_user}","gists_url":"https://api.github.com/users/jnormington/gists{/gist_id}","starred_url":"https://api.github.com/users/jnormington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnormington/subscriptions","organizations_url":"https://api.github.com/users/jnormington/orgs","repos_url":"https://api.github.com/users/jnormington/repos","events_url":"https://api.github.com/users/jnormington/events{/privacy}","received_events_url":"https://api.github.com/users/jnormington/received_events","type":"User","site_admin":false},"body":"- As the post action isn't acting on the params - we just redirect to the get action and allow the response handler to handle the request\r\n- Use page.driver.follow as page.driver.post is a driver specific function which doesn't follow redirects or use the follow_redirects option.\r\n\r\nhttps://github.com/jnicklas/capybara/blob/2be3cbb19ad5cfc074b068897ba1969b775ff30d/lib/capybara/rack_test/browser.rb\r\nhttps://github.com/jnicklas/capybara/blob/2be3cbb19ad5cfc074b068897ba1969b775ff30d/lib/capybara/rack_test/driver.rb","created_at":"2015-06-13T21:12:27Z","updated_at":"2015-06-13T21:17:03Z","closed_at":"2015-06-13T21:17:03Z","merged_at":"2015-06-13T21:17:03Z","merge_commit_sha":"aaeb4395d4a5b0501771ef4b4008b50e35a6a143","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jnormington/mimiq/pulls/5/commits","review_comments_url":"https://api.github.com/repos/jnormington/mimiq/pulls/5/comments","review_comment_url":"https://api.github.com/repos/jnormington/mimiq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jnormington/mimiq/issues/5/comments","statuses_url":"https://api.github.com/repos/jnormington/mimiq/statuses/56df8619a78a9b0d769e377eb0542978ea99a21e","head":{"label":"jnormington:handle_post_scenario","ref":"handle_post_scenario","sha":"56df8619a78a9b0d769e377eb0542978ea99a21e","user":{"login":"jnormington","id":4930249,"avatar_url":"https://avatars.githubusercontent.com/u/4930249?v=3","gravatar_id":"","url":"https://api.github.com/users/jnormington","html_url":"https://github.com/jnormington","followers_url":"https://api.github.com/users/jnormington/followers","following_url":"https://api.github.com/users/jnormington/following{/other_user}","gists_url":"https://api.github.com/users/jnormington/gists{/gist_id}","starred_url":"https://api.github.com/users/jnormington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnormington/subscriptions","organizations_url":"https://api.github.com/users/jnormington/orgs","repos_url":"https://api.github.com/users/jnormington/repos","events_url":"https://api.github.com/users/jnormington/events{/privacy}","received_events_url":"https://api.github.com/users/jnormington/received_events","type":"User","site_admin":false},"repo":{"id":36995640,"name":"mimiq","full_name":"jnormington/mimiq","owner":{"login":"jnormington","id":4930249,"avatar_url":"https://avatars.githubusercontent.com/u/4930249?v=3","gravatar_id":"","url":"https://api.github.com/users/jnormington","html_url":"https://github.com/jnormington","followers_url":"https://api.github.com/users/jnormington/followers","following_url":"https://api.github.com/users/jnormington/following{/other_user}","gists_url":"https://api.github.com/users/jnormington/gists{/gist_id}","starred_url":"https://api.github.com/users/jnormington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnormington/subscriptions","organizations_url":"https://api.github.com/users/jnormington/orgs","repos_url":"https://api.github.com/users/jnormington/repos","events_url":"https://api.github.com/users/jnormington/events{/privacy}","received_events_url":"https://api.github.com/users/jnormington/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jnormington/mimiq","description":"","fork":false,"url":"https://api.github.com/repos/jnormington/mimiq","forks_url":"https://api.github.com/repos/jnormington/mimiq/forks","keys_url":"https://api.github.com/repos/jnormington/mimiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jnormington/mimiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jnormington/mimiq/teams","hooks_url":"https://api.github.com/repos/jnormington/mimiq/hooks","issue_events_url":"https://api.github.com/repos/jnormington/mimiq/issues/events{/number}","events_url":"https://api.github.com/repos/jnormington/mimiq/events","assignees_url":"https://api.github.com/repos/jnormington/mimiq/assignees{/user}","branches_url":"https://api.github.com/repos/jnormington/mimiq/branches{/branch}","tags_url":"https://api.github.com/repos/jnormington/mimiq/tags","blobs_url":"https://api.github.com/repos/jnormington/mimiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jnormington/mimiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jnormington/mimiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/jnormington/mimiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jnormington/mimiq/statuses/{sha}","languages_url":"https://api.github.com/repos/jnormington/mimiq/languages","stargazers_url":"https://api.github.com/repos/jnormington/mimiq/stargazers","contributors_url":"https://api.github.com/repos/jnormington/mimiq/contributors","subscribers_url":"https://api.github.com/repos/jnormington/mimiq/subscribers","subscription_url":"https://api.github.com/repos/jnormington/mimiq/subscription","commits_url":"https://api.github.com/repos/jnormington/mimiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/jnormington/mimiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/jnormington/mimiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/jnormington/mimiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/jnormington/mimiq/contents/{+path}","compare_url":"https://api.github.com/repos/jnormington/mimiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jnormington/mimiq/merges","archive_url":"https://api.github.com/repos/jnormington/mimiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jnormington/mimiq/downloads","issues_url":"https://api.github.com/repos/jnormington/mimiq/issues{/number}","pulls_url":"https://api.github.com/repos/jnormington/mimiq/pulls{/number}","milestones_url":"https://api.github.com/repos/jnormington/mimiq/milestones{/number}","notifications_url":"https://api.github.com/repos/jnormington/mimiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jnormington/mimiq/labels{/name}","releases_url":"https://api.github.com/repos/jnormington/mimiq/releases{/id}","created_at":"2015-06-06T21:26:16Z","updated_at":"2015-06-06T21:38:35Z","pushed_at":"2015-06-13T21:17:04Z","git_url":"git://github.com/jnormington/mimiq.git","ssh_url":"git@github.com:jnormington/mimiq.git","clone_url":"https://github.com/jnormington/mimiq.git","svn_url":"https://github.com/jnormington/mimiq","homepage":null,"size":0,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jnormington:master","ref":"master","sha":"87eeceedd3142f5741d52173f19ffed432a5fbba","user":{"login":"jnormington","id":4930249,"avatar_url":"https://avatars.githubusercontent.com/u/4930249?v=3","gravatar_id":"","url":"https://api.github.com/users/jnormington","html_url":"https://github.com/jnormington","followers_url":"https://api.github.com/users/jnormington/followers","following_url":"https://api.github.com/users/jnormington/following{/other_user}","gists_url":"https://api.github.com/users/jnormington/gists{/gist_id}","starred_url":"https://api.github.com/users/jnormington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnormington/subscriptions","organizations_url":"https://api.github.com/users/jnormington/orgs","repos_url":"https://api.github.com/users/jnormington/repos","events_url":"https://api.github.com/users/jnormington/events{/privacy}","received_events_url":"https://api.github.com/users/jnormington/received_events","type":"User","site_admin":false},"repo":{"id":36995640,"name":"mimiq","full_name":"jnormington/mimiq","owner":{"login":"jnormington","id":4930249,"avatar_url":"https://avatars.githubusercontent.com/u/4930249?v=3","gravatar_id":"","url":"https://api.github.com/users/jnormington","html_url":"https://github.com/jnormington","followers_url":"https://api.github.com/users/jnormington/followers","following_url":"https://api.github.com/users/jnormington/following{/other_user}","gists_url":"https://api.github.com/users/jnormington/gists{/gist_id}","starred_url":"https://api.github.com/users/jnormington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnormington/subscriptions","organizations_url":"https://api.github.com/users/jnormington/orgs","repos_url":"https://api.github.com/users/jnormington/repos","events_url":"https://api.github.com/users/jnormington/events{/privacy}","received_events_url":"https://api.github.com/users/jnormington/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jnormington/mimiq","description":"","fork":false,"url":"https://api.github.com/repos/jnormington/mimiq","forks_url":"https://api.github.com/repos/jnormington/mimiq/forks","keys_url":"https://api.github.com/repos/jnormington/mimiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jnormington/mimiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jnormington/mimiq/teams","hooks_url":"https://api.github.com/repos/jnormington/mimiq/hooks","issue_events_url":"https://api.github.com/repos/jnormington/mimiq/issues/events{/number}","events_url":"https://api.github.com/repos/jnormington/mimiq/events","assignees_url":"https://api.github.com/repos/jnormington/mimiq/assignees{/user}","branches_url":"https://api.github.com/repos/jnormington/mimiq/branches{/branch}","tags_url":"https://api.github.com/repos/jnormington/mimiq/tags","blobs_url":"https://api.github.com/repos/jnormington/mimiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jnormington/mimiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jnormington/mimiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/jnormington/mimiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jnormington/mimiq/statuses/{sha}","languages_url":"https://api.github.com/repos/jnormington/mimiq/languages","stargazers_url":"https://api.github.com/repos/jnormington/mimiq/stargazers","contributors_url":"https://api.github.com/repos/jnormington/mimiq/contributors","subscribers_url":"https://api.github.com/repos/jnormington/mimiq/subscribers","subscription_url":"https://api.github.com/repos/jnormington/mimiq/subscription","commits_url":"https://api.github.com/repos/jnormington/mimiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/jnormington/mimiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/jnormington/mimiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/jnormington/mimiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/jnormington/mimiq/contents/{+path}","compare_url":"https://api.github.com/repos/jnormington/mimiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jnormington/mimiq/merges","archive_url":"https://api.github.com/repos/jnormington/mimiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jnormington/mimiq/downloads","issues_url":"https://api.github.com/repos/jnormington/mimiq/issues{/number}","pulls_url":"https://api.github.com/repos/jnormington/mimiq/pulls{/number}","milestones_url":"https://api.github.com/repos/jnormington/mimiq/milestones{/number}","notifications_url":"https://api.github.com/repos/jnormington/mimiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jnormington/mimiq/labels{/name}","releases_url":"https://api.github.com/repos/jnormington/mimiq/releases{/id}","created_at":"2015-06-06T21:26:16Z","updated_at":"2015-06-06T21:38:35Z","pushed_at":"2015-06-13T21:17:04Z","git_url":"git://github.com/jnormington/mimiq.git","ssh_url":"git@github.com:jnormington/mimiq.git","clone_url":"https://github.com/jnormington/mimiq.git","svn_url":"https://github.com/jnormington/mimiq","homepage":null,"size":0,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jnormington/mimiq/pulls/5"},"html":{"href":"https://github.com/jnormington/mimiq/pull/5"},"issue":{"href":"https://api.github.com/repos/jnormington/mimiq/issues/5"},"comments":{"href":"https://api.github.com/repos/jnormington/mimiq/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/jnormington/mimiq/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/jnormington/mimiq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jnormington/mimiq/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/jnormington/mimiq/statuses/56df8619a78a9b0d769e377eb0542978ea99a21e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jnormington","id":4930249,"avatar_url":"https://avatars.githubusercontent.com/u/4930249?v=3","gravatar_id":"","url":"https://api.github.com/users/jnormington","html_url":"https://github.com/jnormington","followers_url":"https://api.github.com/users/jnormington/followers","following_url":"https://api.github.com/users/jnormington/following{/other_user}","gists_url":"https://api.github.com/users/jnormington/gists{/gist_id}","starred_url":"https://api.github.com/users/jnormington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnormington/subscriptions","organizations_url":"https://api.github.com/users/jnormington/orgs","repos_url":"https://api.github.com/users/jnormington/repos","events_url":"https://api.github.com/users/jnormington/events{/privacy}","received_events_url":"https://api.github.com/users/jnormington/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":54,"deletions":7,"changed_files":5}}