From 7c342af1b76f1133efaa0ae47dd259ff8767f1be Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Thu, 5 Feb 2015 08:19:45 +0900 Subject: load "rack/test" before "action_controller/railtie" in bug report templates [ci skip] --- guides/bug_report_templates/action_controller_gem.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides') 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) -- cgit v1.2.3