{"action":"created","comment":{"url":"https://api.github.com/repos/rails/rails/pulls/comments/50636023","id":50636023,"diff_hunk":"@@ -446,7 +446,7 @@ def test_pass_TEST_env_on_rake_test\n       create_test_file :models, 'account'\n       create_test_file :models, 'post', pass: false\n \n-      output =  Dir.chdir(app_path) { `bin/rake test TEST=test/models/post_test.rb` }\n+      output =  Dir.chdir(app_path) { `bin/rails test TEST=test/models/post_test.rb` }","path":"railties/test/application/test_runner_test.rb","position":5,"original_position":5,"commit_id":"cfa873283cd7162c6c695281c4f3f1b94139d40d","original_commit_id":"2162e7637d5eefe9749cea88907b65c75ab86f94","user":{"login":"kaspth","id":350807,"avatar_url":"https://avatars.githubusercontent.com/u/350807?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspth","html_url":"https://github.com/kaspth","followers_url":"https://api.github.com/users/kaspth/followers","following_url":"https://api.github.com/users/kaspth/following{/other_user}","gists_url":"https://api.github.com/users/kaspth/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspth/subscriptions","organizations_url":"https://api.github.com/users/kaspth/orgs","repos_url":"https://api.github.com/users/kaspth/repos","events_url":"https://api.github.com/users/kaspth/events{/privacy}","received_events_url":"https://api.github.com/users/kaspth/received_events","type":"User","site_admin":false},"body":"`TEST` is only for backwardscompatibility with `rake test` as `bin/rails test` already supports running tests from a single file more cleanly.","created_at":"2016-01-24T14:27:37Z","updated_at":"2016-01-24T14:27:37Z","html_url":"https://github.com/rails/rails/pull/23212#discussion_r50636023","pull_request_url":"https://api.github.com/repos/rails/rails/pulls/23212","_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/comments/50636023"},"html":{"href":"https://github.com/rails/rails/pull/23212#discussion_r50636023"},"pull_request":{"href":"https://api.github.com/repos/rails/rails/pulls/23212"}}},"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/23212","id":56984121,"html_url":"https://github.com/rails/rails/pull/23212","diff_url":"https://github.com/rails/rails/pull/23212.diff","patch_url":"https://github.com/rails/rails/pull/23212.patch","issue_url":"https://api.github.com/repos/rails/rails/issues/23212","number":23212,"state":"open","locked":false,"title":"Be consistent in testing outputs from railties test and use /bin/rails","user":{"login":"vipulnsward","id":567626,"avatar_url":"https://avatars.githubusercontent.com/u/567626?v=3","gravatar_id":"","url":"https://api.github.com/users/vipulnsward","html_url":"https://github.com/vipulnsward","followers_url":"https://api.github.com/users/vipulnsward/followers","following_url":"https://api.github.com/users/vipulnsward/following{/other_user}","gists_url":"https://api.github.com/users/vipulnsward/gists{/gist_id}","starred_url":"https://api.github.com/users/vipulnsward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vipulnsward/subscriptions","organizations_url":"https://api.github.com/users/vipulnsward/orgs","repos_url":"https://api.github.com/users/vipulnsward/repos","events_url":"https://api.github.com/users/vipulnsward/events{/privacy}","received_events_url":"https://api.github.com/users/vipulnsward/received_events","type":"User","site_admin":false},"body":"Be consistent in testing outputs from railties test and use /bin/rails everywhere(the default behaviour now) instead of mix of /bin/rake and /bin/rails everywhere","created_at":"2016-01-23T19:25:13Z","updated_at":"2016-01-24T14:27:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5507d79c0e7c8119bcf11edf62442d58f2eae823","assignee":{"login":"chancancode","id":55829,"avatar_url":"https://avatars.githubusercontent.com/u/55829?v=3","gravatar_id":"","url":"https://api.github.com/users/chancancode","html_url":"https://github.com/chancancode","followers_url":"https://api.github.com/users/chancancode/followers","following_url":"https://api.github.com/users/chancancode/following{/other_user}","gists_url":"https://api.github.com/users/chancancode/gists{/gist_id}","starred_url":"https://api.github.com/users/chancancode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chancancode/subscriptions","organizations_url":"https://api.github.com/users/chancancode/orgs","repos_url":"https://api.github.com/users/chancancode/repos","events_url":"https://api.github.com/users/chancancode/events{/privacy}","received_events_url":"https://api.github.com/users/chancancode/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rails/rails/pulls/23212/commits","review_comments_url":"https://api.github.com/repos/rails/rails/pulls/23212/comments","review_comment_url":"https://api.github.com/repos/rails/rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rails/rails/issues/23212/comments","statuses_url":"https://api.github.com/repos/rails/rails/statuses/cfa873283cd7162c6c695281c4f3f1b94139d40d","head":{"label":"vipulnsward:bin-rails","ref":"bin-rails","sha":"cfa873283cd7162c6c695281c4f3f1b94139d40d","user":{"login":"vipulnsward","id":567626,"avatar_url":"https://avatars.githubusercontent.com/u/567626?v=3","gravatar_id":"","url":"https://api.github.com/users/vipulnsward","html_url":"https://github.com/vipulnsward","followers_url":"https://api.github.com/users/vipulnsward/followers","following_url":"https://api.github.com/users/vipulnsward/following{/other_user}","gists_url":"https://api.github.com/users/vipulnsward/gists{/gist_id}","starred_url":"https://api.github.com/users/vipulnsward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vipulnsward/subscriptions","organizations_url":"https://api.github.com/users/vipulnsward/orgs","repos_url":"https://api.github.com/users/vipulnsward/repos","events_url":"https://api.github.com/users/vipulnsward/events{/privacy}","received_events_url":"https://api.github.com/users/vipulnsward/received_events","type":"User","site_admin":false},"repo":{"id":6652536,"name":"rails","full_name":"vipulnsward/rails","owner":{"login":"vipulnsward","id":567626,"avatar_url":"https://avatars.githubusercontent.com/u/567626?v=3","gravatar_id":"","url":"https://api.github.com/users/vipulnsward","html_url":"https://github.com/vipulnsward","followers_url":"https://api.github.com/users/vipulnsward/followers","following_url":"https://api.github.com/users/vipulnsward/following{/other_user}","gists_url":"https://api.github.com/users/vipulnsward/gists{/gist_id}","starred_url":"https://api.github.com/users/vipulnsward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vipulnsward/subscriptions","organizations_url":"https://api.github.com/users/vipulnsward/orgs","repos_url":"https://api.github.com/users/vipulnsward/repos","events_url":"https://api.github.com/users/vipulnsward/events{/privacy}","received_events_url":"https://api.github.com/users/vipulnsward/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vipulnsward/rails","description":"Ruby on Rails","fork":true,"url":"https://api.github.com/repos/vipulnsward/rails","forks_url":"https://api.github.com/repos/vipulnsward/rails/forks","keys_url":"https://api.github.com/repos/vipulnsward/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vipulnsward/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vipulnsward/rails/teams","hooks_url":"https://api.github.com/repos/vipulnsward/rails/hooks","issue_events_url":"https://api.github.com/repos/vipulnsward/rails/issues/events{/number}","events_url":"https://api.github.com/repos/vipulnsward/rails/events","assignees_url":"https://api.github.com/repos/vipulnsward/rails/assignees{/user}","branches_url":"https://api.github.com/repos/vipulnsward/rails/branches{/branch}","tags_url":"https://api.github.com/repos/vipulnsward/rails/tags","blobs_url":"https://api.github.com/repos/vipulnsward/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vipulnsward/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vipulnsward/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/vipulnsward/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vipulnsward/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/vipulnsward/rails/languages","stargazers_url":"https://api.github.com/repos/vipulnsward/rails/stargazers","contributors_url":"https://api.github.com/repos/vipulnsward/rails/contributors","subscribers_url":"https://api.github.com/repos/vipulnsward/rails/subscribers","subscription_url":"https://api.github.com/repos/vipulnsward/rails/subscription","commits_url":"https://api.github.com/repos/vipulnsward/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/vipulnsward/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/vipulnsward/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/vipulnsward/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/vipulnsward/rails/contents/{+path}","compare_url":"https://api.github.com/repos/vipulnsward/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vipulnsward/rails/merges","archive_url":"https://api.github.com/repos/vipulnsward/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vipulnsward/rails/downloads","issues_url":"https://api.github.com/repos/vipulnsward/rails/issues{/number}","pulls_url":"https://api.github.com/repos/vipulnsward/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/vipulnsward/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/vipulnsward/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vipulnsward/rails/labels{/name}","releases_url":"https://api.github.com/repos/vipulnsward/rails/releases{/id}","deployments_url":"https://api.github.com/repos/vipulnsward/rails/deployments","created_at":"2012-11-12T11:42:33Z","updated_at":"2015-01-14T06:40:25Z","pushed_at":"2016-01-24T14:27:08Z","git_url":"git://github.com/vipulnsward/rails.git","ssh_url":"git@github.com:vipulnsward/rails.git","clone_url":"https://github.com/vipulnsward/rails.git","svn_url":"https://github.com/vipulnsward/rails","homepage":"http://rubyonrails.org","size":112776,"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":"235c75972e5985e7b95e3326b8c7c1b9a15ac70c","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}","deployments_url":"https://api.github.com/repos/rails/rails/deployments","created_at":"2008-04-11T02:19:47Z","updated_at":"2016-01-24T14:14:43Z","pushed_at":"2016-01-24T14:27:13Z","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":322068,"stargazers_count":29347,"watchers_count":29347,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11902,"mirror_url":null,"open_issues_count":848,"forks":11902,"open_issues":848,"watchers":29347,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/23212"},"html":{"href":"https://github.com/rails/rails/pull/23212"},"issue":{"href":"https://api.github.com/repos/rails/rails/issues/23212"},"comments":{"href":"https://api.github.com/repos/rails/rails/issues/23212/comments"},"review_comments":{"href":"https://api.github.com/repos/rails/rails/pulls/23212/comments"},"review_comment":{"href":"https://api.github.com/repos/rails/rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rails/rails/pulls/23212/commits"},"statuses":{"href":"https://api.github.com/repos/rails/rails/statuses/cfa873283cd7162c6c695281c4f3f1b94139d40d"}}}}