mirror of https://github.com/rails/rails
load "rack/test" before "action_controller/railtie" in bug report templates [ci skip]
This commit is contained in:
parent
e440e8daba
commit
7c342af1b7
|
@ -2,6 +2,7 @@
|
|||
gem 'rails', '4.2.0'
|
||||
|
||||
require 'rails'
|
||||
require 'rack/test'
|
||||
require 'action_controller/railtie'
|
||||
|
||||
class TestApp < Rails::Application
|
||||
|
@ -27,7 +28,6 @@ class TestController < ActionController::Base
|
|||
end
|
||||
|
||||
require 'minitest/autorun'
|
||||
require 'rack/test'
|
||||
|
||||
# Ensure backward compatibility with Minitest 4
|
||||
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test)
|
||||
|
|
Loading…
Reference in New Issue