{"action":"created","comment":{"url":"https://api.github.com/repos/rails/rails/pulls/comments/37737841","id":37737841,"diff_hunk":"@@ -54,9 +54,7 @@ class TestRequestTest < ActiveSupport::TestCase\n   end\n \n   test \"does not complain when Rails.application is nil\" do\n-    Rails.stubs(:application).returns(nil)","path":"actionpack/test/dispatch/test_request_test.rb","position":null,"original_position":4,"commit_id":"3a161e65e76a83be6d62c424227fe10b5b66b77d","original_commit_id":"2f040c4ed28a1f421367529f9397ba6ac38bc323","user":{"login":"rodzyn","id":274277,"avatar_url":"https://avatars.githubusercontent.com/u/274277?v=3","gravatar_id":"","url":"https://api.github.com/users/rodzyn","html_url":"https://github.com/rodzyn","followers_url":"https://api.github.com/users/rodzyn/followers","following_url":"https://api.github.com/users/rodzyn/following{/other_user}","gists_url":"https://api.github.com/users/rodzyn/gists{/gist_id}","starred_url":"https://api.github.com/users/rodzyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodzyn/subscriptions","organizations_url":"https://api.github.com/users/rodzyn/orgs","repos_url":"https://api.github.com/users/rodzyn/repos","events_url":"https://api.github.com/users/rodzyn/events{/privacy}","received_events_url":"https://api.github.com/users/rodzyn/received_events","type":"User","site_admin":false},"body":"done","created_at":"2015-08-24T10:25:12Z","updated_at":"2015-08-24T10:25:12Z","html_url":"https://github.com/rails/rails/pull/21321#discussion_r37737841","pull_request_url":"https://api.github.com/repos/rails/rails/pulls/21321","_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/comments/37737841"},"html":{"href":"https://github.com/rails/rails/pull/21321#discussion_r37737841"},"pull_request":{"href":"https://api.github.com/repos/rails/rails/pulls/21321"}}},"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/21321","id":43080682,"html_url":"https://github.com/rails/rails/pull/21321","diff_url":"https://github.com/rails/rails/pull/21321.diff","patch_url":"https://github.com/rails/rails/pull/21321.patch","issue_url":"https://api.github.com/repos/rails/rails/issues/21321","number":21321,"state":"open","locked":false,"title":"Get rid of mocha tests in actionpack - part 1","user":{"login":"rodzyn","id":274277,"avatar_url":"https://avatars.githubusercontent.com/u/274277?v=3","gravatar_id":"","url":"https://api.github.com/users/rodzyn","html_url":"https://github.com/rodzyn","followers_url":"https://api.github.com/users/rodzyn/followers","following_url":"https://api.github.com/users/rodzyn/following{/other_user}","gists_url":"https://api.github.com/users/rodzyn/gists{/gist_id}","starred_url":"https://api.github.com/users/rodzyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodzyn/subscriptions","organizations_url":"https://api.github.com/users/rodzyn/orgs","repos_url":"https://api.github.com/users/rodzyn/repos","events_url":"https://api.github.com/users/rodzyn/events{/privacy}","received_events_url":"https://api.github.com/users/rodzyn/received_events","type":"User","site_admin":false},"body":"The idea is to gradually introducing minitest stubs/mocks and at the end get rid of mocha dependency.\r\nTo not making too big PRs that are hard to review, I thought I split this task into series of 2 (maybe 3) PRs.\r\nI also removed some unused requires/stubs.","created_at":"2015-08-21T21:01:32Z","updated_at":"2015-08-24T10:25:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c88446ab4178b3978ecbbebc79a8f7f55a090a81","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rails/rails/pulls/21321/commits","review_comments_url":"https://api.github.com/repos/rails/rails/pulls/21321/comments","review_comment_url":"https://api.github.com/repos/rails/rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rails/rails/issues/21321/comments","statuses_url":"https://api.github.com/repos/rails/rails/statuses/3a161e65e76a83be6d62c424227fe10b5b66b77d","head":{"label":"rodzyn:removing_mocha","ref":"removing_mocha","sha":"3a161e65e76a83be6d62c424227fe10b5b66b77d","user":{"login":"rodzyn","id":274277,"avatar_url":"https://avatars.githubusercontent.com/u/274277?v=3","gravatar_id":"","url":"https://api.github.com/users/rodzyn","html_url":"https://github.com/rodzyn","followers_url":"https://api.github.com/users/rodzyn/followers","following_url":"https://api.github.com/users/rodzyn/following{/other_user}","gists_url":"https://api.github.com/users/rodzyn/gists{/gist_id}","starred_url":"https://api.github.com/users/rodzyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodzyn/subscriptions","organizations_url":"https://api.github.com/users/rodzyn/orgs","repos_url":"https://api.github.com/users/rodzyn/repos","events_url":"https://api.github.com/users/rodzyn/events{/privacy}","received_events_url":"https://api.github.com/users/rodzyn/received_events","type":"User","site_admin":false},"repo":{"id":2027583,"name":"rails","full_name":"rodzyn/rails","owner":{"login":"rodzyn","id":274277,"avatar_url":"https://avatars.githubusercontent.com/u/274277?v=3","gravatar_id":"","url":"https://api.github.com/users/rodzyn","html_url":"https://github.com/rodzyn","followers_url":"https://api.github.com/users/rodzyn/followers","following_url":"https://api.github.com/users/rodzyn/following{/other_user}","gists_url":"https://api.github.com/users/rodzyn/gists{/gist_id}","starred_url":"https://api.github.com/users/rodzyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodzyn/subscriptions","organizations_url":"https://api.github.com/users/rodzyn/orgs","repos_url":"https://api.github.com/users/rodzyn/repos","events_url":"https://api.github.com/users/rodzyn/events{/privacy}","received_events_url":"https://api.github.com/users/rodzyn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rodzyn/rails","description":"Ruby on Rails","fork":true,"url":"https://api.github.com/repos/rodzyn/rails","forks_url":"https://api.github.com/repos/rodzyn/rails/forks","keys_url":"https://api.github.com/repos/rodzyn/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rodzyn/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rodzyn/rails/teams","hooks_url":"https://api.github.com/repos/rodzyn/rails/hooks","issue_events_url":"https://api.github.com/repos/rodzyn/rails/issues/events{/number}","events_url":"https://api.github.com/repos/rodzyn/rails/events","assignees_url":"https://api.github.com/repos/rodzyn/rails/assignees{/user}","branches_url":"https://api.github.com/repos/rodzyn/rails/branches{/branch}","tags_url":"https://api.github.com/repos/rodzyn/rails/tags","blobs_url":"https://api.github.com/repos/rodzyn/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rodzyn/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rodzyn/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/rodzyn/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rodzyn/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/rodzyn/rails/languages","stargazers_url":"https://api.github.com/repos/rodzyn/rails/stargazers","contributors_url":"https://api.github.com/repos/rodzyn/rails/contributors","subscribers_url":"https://api.github.com/repos/rodzyn/rails/subscribers","subscription_url":"https://api.github.com/repos/rodzyn/rails/subscription","commits_url":"https://api.github.com/repos/rodzyn/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/rodzyn/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/rodzyn/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/rodzyn/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/rodzyn/rails/contents/{+path}","compare_url":"https://api.github.com/repos/rodzyn/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rodzyn/rails/merges","archive_url":"https://api.github.com/repos/rodzyn/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rodzyn/rails/downloads","issues_url":"https://api.github.com/repos/rodzyn/rails/issues{/number}","pulls_url":"https://api.github.com/repos/rodzyn/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/rodzyn/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/rodzyn/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rodzyn/rails/labels{/name}","releases_url":"https://api.github.com/repos/rodzyn/rails/releases{/id}","created_at":"2011-07-10T22:34:04Z","updated_at":"2015-03-10T00:47:33Z","pushed_at":"2015-08-24T10:24:44Z","git_url":"git://github.com/rodzyn/rails.git","ssh_url":"git@github.com:rodzyn/rails.git","clone_url":"https://github.com/rodzyn/rails.git","svn_url":"https://github.com/rodzyn/rails","homepage":"http://rubyonrails.org","size":123595,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"rails:master","ref":"master","sha":"a256a5790a907c67b823496f0ed15a705418291c","user":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"repo":{"id":8514,"name":"rails","full_name":"rails/rails","owner":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rails/rails","description":"Ruby on Rails","fork":false,"url":"https://api.github.com/repos/rails/rails","forks_url":"https://api.github.com/repos/rails/rails/forks","keys_url":"https://api.github.com/repos/rails/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rails/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rails/rails/teams","hooks_url":"https://api.github.com/repos/rails/rails/hooks","issue_events_url":"https://api.github.com/repos/rails/rails/issues/events{/number}","events_url":"https://api.github.com/repos/rails/rails/events","assignees_url":"https://api.github.com/repos/rails/rails/assignees{/user}","branches_url":"https://api.github.com/repos/rails/rails/branches{/branch}","tags_url":"https://api.github.com/repos/rails/rails/tags","blobs_url":"https://api.github.com/repos/rails/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rails/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rails/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/rails/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rails/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/rails/rails/languages","stargazers_url":"https://api.github.com/repos/rails/rails/stargazers","contributors_url":"https://api.github.com/repos/rails/rails/contributors","subscribers_url":"https://api.github.com/repos/rails/rails/subscribers","subscription_url":"https://api.github.com/repos/rails/rails/subscription","commits_url":"https://api.github.com/repos/rails/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/rails/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/rails/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/rails/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/rails/rails/contents/{+path}","compare_url":"https://api.github.com/repos/rails/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rails/rails/merges","archive_url":"https://api.github.com/repos/rails/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rails/rails/downloads","issues_url":"https://api.github.com/repos/rails/rails/issues{/number}","pulls_url":"https://api.github.com/repos/rails/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/rails/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/rails/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rails/rails/labels{/name}","releases_url":"https://api.github.com/repos/rails/rails/releases{/id}","created_at":"2008-04-11T02:19:47Z","updated_at":"2015-08-24T09:16:20Z","pushed_at":"2015-08-24T10:25:05Z","git_url":"git://github.com/rails/rails.git","ssh_url":"git@github.com:rails/rails.git","clone_url":"https://github.com/rails/rails.git","svn_url":"https://github.com/rails/rails","homepage":"http://rubyonrails.org","size":448771,"stargazers_count":27432,"watchers_count":27432,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11001,"mirror_url":null,"open_issues_count":911,"forks":11001,"open_issues":911,"watchers":27432,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/21321"},"html":{"href":"https://github.com/rails/rails/pull/21321"},"issue":{"href":"https://api.github.com/repos/rails/rails/issues/21321"},"comments":{"href":"https://api.github.com/repos/rails/rails/issues/21321/comments"},"review_comments":{"href":"https://api.github.com/repos/rails/rails/pulls/21321/comments"},"review_comment":{"href":"https://api.github.com/repos/rails/rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rails/rails/pulls/21321/commits"},"statuses":{"href":"https://api.github.com/repos/rails/rails/statuses/3a161e65e76a83be6d62c424227fe10b5b66b77d"}}}}