diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2015-02-05 08:19:45 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2015-02-05 08:19:45 +0900 |
commit | 7c342af1b76f1133efaa0ae47dd259ff8767f1be (patch) | |
tree | a6bef31c426976ecdb325414e56c5b9a38a7542f | |
parent | e440e8daba74e6d888c0fe0069e07fa38fed469b (diff) | |
download | rails-7c342af1b76f1133efaa0ae47dd259ff8767f1be.tar.gz rails-7c342af1b76f1133efaa0ae47dd259ff8767f1be.tar.bz2 rails-7c342af1b76f1133efaa0ae47dd259ff8767f1be.zip |
load "rack/test" before "action_controller/railtie" in bug report templates [ci skip]
-rw-r--r-- | guides/bug_report_templates/action_controller_gem.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/bug_report_templates/action_controller_gem.rb b/guides/bug_report_templates/action_controller_gem.rb index e04d79c818..032e6bfe11 100644 --- a/guides/bug_report_templates/action_controller_gem.rb +++ b/guides/bug_report_templates/action_controller_gem.rb @@ -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) |