{"action":"closed","number":76,"pull_request":{"url":"https://api.github.com/repos/Everapps/stripe-rails/pulls/76","id":135435492,"html_url":"https://github.com/Everapps/stripe-rails/pull/76","diff_url":"https://github.com/Everapps/stripe-rails/pull/76.diff","patch_url":"https://github.com/Everapps/stripe-rails/pull/76.patch","issue_url":"https://api.github.com/repos/Everapps/stripe-rails/issues/76","number":76,"state":"closed","locked":false,"title":"extracts spec code from test environment","user":{"login":"tansengming","id":14654,"avatar_url":"https://avatars2.githubusercontent.com/u/14654?v=4","gravatar_id":"","url":"https://api.github.com/users/tansengming","html_url":"https://github.com/tansengming","followers_url":"https://api.github.com/users/tansengming/followers","following_url":"https://api.github.com/users/tansengming/following{/other_user}","gists_url":"https://api.github.com/users/tansengming/gists{/gist_id}","starred_url":"https://api.github.com/users/tansengming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tansengming/subscriptions","organizations_url":"https://api.github.com/users/tansengming/orgs","repos_url":"https://api.github.com/users/tansengming/repos","events_url":"https://api.github.com/users/tansengming/events{/privacy}","received_events_url":"https://api.github.com/users/tansengming/received_events","type":"User","site_admin":false},"body":"there was code meant for specific tests left on `config/environments/test.rb`. This PR extracts all that into the actual tests.","created_at":"2017-08-11T23:25:39Z","updated_at":"2017-08-15T20:48:50Z","closed_at":"2017-08-15T20:48:50Z","merged_at":"2017-08-15T20:48:50Z","merge_commit_sha":"e315a2675c0b8fe649857094f2d453f69a25dedb","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Everapps/stripe-rails/pulls/76/commits","review_comments_url":"https://api.github.com/repos/Everapps/stripe-rails/pulls/76/comments","review_comment_url":"https://api.github.com/repos/Everapps/stripe-rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Everapps/stripe-rails/issues/76/comments","statuses_url":"https://api.github.com/repos/Everapps/stripe-rails/statuses/1f589fdbd137d2bbc78f581144ea9c334d384bba","head":{"label":"Everapps:test-refactors","ref":"test-refactors","sha":"1f589fdbd137d2bbc78f581144ea9c334d384bba","user":{"login":"Everapps","id":8933997,"avatar_url":"https://avatars1.githubusercontent.com/u/8933997?v=4","gravatar_id":"","url":"https://api.github.com/users/Everapps","html_url":"https://github.com/Everapps","followers_url":"https://api.github.com/users/Everapps/followers","following_url":"https://api.github.com/users/Everapps/following{/other_user}","gists_url":"https://api.github.com/users/Everapps/gists{/gist_id}","starred_url":"https://api.github.com/users/Everapps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Everapps/subscriptions","organizations_url":"https://api.github.com/users/Everapps/orgs","repos_url":"https://api.github.com/users/Everapps/repos","events_url":"https://api.github.com/users/Everapps/events{/privacy}","received_events_url":"https://api.github.com/users/Everapps/received_events","type":"Organization","site_admin":false},"repo":{"id":5981353,"name":"stripe-rails","full_name":"Everapps/stripe-rails","owner":{"login":"Everapps","id":8933997,"avatar_url":"https://avatars1.githubusercontent.com/u/8933997?v=4","gravatar_id":"","url":"https://api.github.com/users/Everapps","html_url":"https://github.com/Everapps","followers_url":"https://api.github.com/users/Everapps/followers","following_url":"https://api.github.com/users/Everapps/following{/other_user}","gists_url":"https://api.github.com/users/Everapps/gists{/gist_id}","starred_url":"https://api.github.com/users/Everapps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Everapps/subscriptions","organizations_url":"https://api.github.com/users/Everapps/orgs","repos_url":"https://api.github.com/users/Everapps/repos","events_url":"https://api.github.com/users/Everapps/events{/privacy}","received_events_url":"https://api.github.com/users/Everapps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Everapps/stripe-rails","description":"A Rails Engine for integrating with stripe.com","fork":false,"url":"https://api.github.com/repos/Everapps/stripe-rails","forks_url":"https://api.github.com/repos/Everapps/stripe-rails/forks","keys_url":"https://api.github.com/repos/Everapps/stripe-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Everapps/stripe-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Everapps/stripe-rails/teams","hooks_url":"https://api.github.com/repos/Everapps/stripe-rails/hooks","issue_events_url":"https://api.github.com/repos/Everapps/stripe-rails/issues/events{/number}","events_url":"https://api.github.com/repos/Everapps/stripe-rails/events","assignees_url":"https://api.github.com/repos/Everapps/stripe-rails/assignees{/user}","branches_url":"https://api.github.com/repos/Everapps/stripe-rails/branches{/branch}","tags_url":"https://api.github.com/repos/Everapps/stripe-rails/tags","blobs_url":"https://api.github.com/repos/Everapps/stripe-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Everapps/stripe-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Everapps/stripe-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/Everapps/stripe-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Everapps/stripe-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/Everapps/stripe-rails/languages","stargazers_url":"https://api.github.com/repos/Everapps/stripe-rails/stargazers","contributors_url":"https://api.github.com/repos/Everapps/stripe-rails/contributors","subscribers_url":"https://api.github.com/repos/Everapps/stripe-rails/subscribers","subscription_url":"https://api.github.com/repos/Everapps/stripe-rails/subscription","commits_url":"https://api.github.com/repos/Everapps/stripe-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/Everapps/stripe-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/Everapps/stripe-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/Everapps/stripe-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/Everapps/stripe-rails/contents/{+path}","compare_url":"https://api.github.com/repos/Everapps/stripe-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Everapps/stripe-rails/merges","archive_url":"https://api.github.com/repos/Everapps/stripe-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Everapps/stripe-rails/downloads","issues_url":"https://api.github.com/repos/Everapps/stripe-rails/issues{/number}","pulls_url":"https://api.github.com/repos/Everapps/stripe-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/Everapps/stripe-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/Everapps/stripe-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Everapps/stripe-rails/labels{/name}","releases_url":"https://api.github.com/repos/Everapps/stripe-rails/releases{/id}","deployments_url":"https://api.github.com/repos/Everapps/stripe-rails/deployments","created_at":"2012-09-27T11:43:29Z","updated_at":"2017-08-15T19:30:16Z","pushed_at":"2017-08-15T20:48:50Z","git_url":"git://github.com/Everapps/stripe-rails.git","ssh_url":"git@github.com:Everapps/stripe-rails.git","clone_url":"https://github.com/Everapps/stripe-rails.git","svn_url":"https://github.com/Everapps/stripe-rails","homepage":"","size":209,"stargazers_count":311,"watchers_count":311,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":64,"mirror_url":null,"open_issues_count":14,"forks":64,"open_issues":14,"watchers":311,"default_branch":"master"}},"base":{"label":"Everapps:master","ref":"master","sha":"9d7c342478f63d12f0a598435352cbc5950e057b","user":{"login":"Everapps","id":8933997,"avatar_url":"https://avatars1.githubusercontent.com/u/8933997?v=4","gravatar_id":"","url":"https://api.github.com/users/Everapps","html_url":"https://github.com/Everapps","followers_url":"https://api.github.com/users/Everapps/followers","following_url":"https://api.github.com/users/Everapps/following{/other_user}","gists_url":"https://api.github.com/users/Everapps/gists{/gist_id}","starred_url":"https://api.github.com/users/Everapps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Everapps/subscriptions","organizations_url":"https://api.github.com/users/Everapps/orgs","repos_url":"https://api.github.com/users/Everapps/repos","events_url":"https://api.github.com/users/Everapps/events{/privacy}","received_events_url":"https://api.github.com/users/Everapps/received_events","type":"Organization","site_admin":false},"repo":{"id":5981353,"name":"stripe-rails","full_name":"Everapps/stripe-rails","owner":{"login":"Everapps","id":8933997,"avatar_url":"https://avatars1.githubusercontent.com/u/8933997?v=4","gravatar_id":"","url":"https://api.github.com/users/Everapps","html_url":"https://github.com/Everapps","followers_url":"https://api.github.com/users/Everapps/followers","following_url":"https://api.github.com/users/Everapps/following{/other_user}","gists_url":"https://api.github.com/users/Everapps/gists{/gist_id}","starred_url":"https://api.github.com/users/Everapps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Everapps/subscriptions","organizations_url":"https://api.github.com/users/Everapps/orgs","repos_url":"https://api.github.com/users/Everapps/repos","events_url":"https://api.github.com/users/Everapps/events{/privacy}","received_events_url":"https://api.github.com/users/Everapps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Everapps/stripe-rails","description":"A Rails Engine for integrating with stripe.com","fork":false,"url":"https://api.github.com/repos/Everapps/stripe-rails","forks_url":"https://api.github.com/repos/Everapps/stripe-rails/forks","keys_url":"https://api.github.com/repos/Everapps/stripe-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Everapps/stripe-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Everapps/stripe-rails/teams","hooks_url":"https://api.github.com/repos/Everapps/stripe-rails/hooks","issue_events_url":"https://api.github.com/repos/Everapps/stripe-rails/issues/events{/number}","events_url":"https://api.github.com/repos/Everapps/stripe-rails/events","assignees_url":"https://api.github.com/repos/Everapps/stripe-rails/assignees{/user}","branches_url":"https://api.github.com/repos/Everapps/stripe-rails/branches{/branch}","tags_url":"https://api.github.com/repos/Everapps/stripe-rails/tags","blobs_url":"https://api.github.com/repos/Everapps/stripe-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Everapps/stripe-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Everapps/stripe-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/Everapps/stripe-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Everapps/stripe-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/Everapps/stripe-rails/languages","stargazers_url":"https://api.github.com/repos/Everapps/stripe-rails/stargazers","contributors_url":"https://api.github.com/repos/Everapps/stripe-rails/contributors","subscribers_url":"https://api.github.com/repos/Everapps/stripe-rails/subscribers","subscription_url":"https://api.github.com/repos/Everapps/stripe-rails/subscription","commits_url":"https://api.github.com/repos/Everapps/stripe-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/Everapps/stripe-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/Everapps/stripe-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/Everapps/stripe-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/Everapps/stripe-rails/contents/{+path}","compare_url":"https://api.github.com/repos/Everapps/stripe-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Everapps/stripe-rails/merges","archive_url":"https://api.github.com/repos/Everapps/stripe-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Everapps/stripe-rails/downloads","issues_url":"https://api.github.com/repos/Everapps/stripe-rails/issues{/number}","pulls_url":"https://api.github.com/repos/Everapps/stripe-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/Everapps/stripe-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/Everapps/stripe-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Everapps/stripe-rails/labels{/name}","releases_url":"https://api.github.com/repos/Everapps/stripe-rails/releases{/id}","deployments_url":"https://api.github.com/repos/Everapps/stripe-rails/deployments","created_at":"2012-09-27T11:43:29Z","updated_at":"2017-08-15T19:30:16Z","pushed_at":"2017-08-15T20:48:50Z","git_url":"git://github.com/Everapps/stripe-rails.git","ssh_url":"git@github.com:Everapps/stripe-rails.git","clone_url":"https://github.com/Everapps/stripe-rails.git","svn_url":"https://github.com/Everapps/stripe-rails","homepage":"","size":209,"stargazers_count":311,"watchers_count":311,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":64,"mirror_url":null,"open_issues_count":14,"forks":64,"open_issues":14,"watchers":311,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Everapps/stripe-rails/pulls/76"},"html":{"href":"https://github.com/Everapps/stripe-rails/pull/76"},"issue":{"href":"https://api.github.com/repos/Everapps/stripe-rails/issues/76"},"comments":{"href":"https://api.github.com/repos/Everapps/stripe-rails/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/Everapps/stripe-rails/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/Everapps/stripe-rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Everapps/stripe-rails/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/Everapps/stripe-rails/statuses/1f589fdbd137d2bbc78f581144ea9c334d384bba"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"tansengming","id":14654,"avatar_url":"https://avatars2.githubusercontent.com/u/14654?v=4","gravatar_id":"","url":"https://api.github.com/users/tansengming","html_url":"https://github.com/tansengming","followers_url":"https://api.github.com/users/tansengming/followers","following_url":"https://api.github.com/users/tansengming/following{/other_user}","gists_url":"https://api.github.com/users/tansengming/gists{/gist_id}","starred_url":"https://api.github.com/users/tansengming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tansengming/subscriptions","organizations_url":"https://api.github.com/users/tansengming/orgs","repos_url":"https://api.github.com/users/tansengming/repos","events_url":"https://api.github.com/users/tansengming/events{/privacy}","received_events_url":"https://api.github.com/users/tansengming/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":10,"additions":59,"deletions":24,"changed_files":5}}
{"actor":{"display_login":"tansengming"}}