aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/abstract_unit.rb2
-rw-r--r--railties/test/application/load_test.rb2
-rw-r--r--railties/test/initializer/path_test.rb3
3 files changed, 6 insertions, 1 deletions
diff --git a/railties/test/abstract_unit.rb b/railties/test/abstract_unit.rb
index e78165fb8c..4510e6241c 100644
--- a/railties/test/abstract_unit.rb
+++ b/railties/test/abstract_unit.rb
@@ -18,6 +18,8 @@ require 'test/unit'
require 'active_support'
require 'active_support/test_case'
+require 'action_controller'
+
if defined?(RAILS_ROOT)
RAILS_ROOT.replace File.dirname(__FILE__)
else
diff --git a/railties/test/application/load_test.rb b/railties/test/application/load_test.rb
index c5bc80197d..75dbf56a21 100644
--- a/railties/test/application/load_test.rb
+++ b/railties/test/application/load_test.rb
@@ -1,6 +1,6 @@
require "isolation/abstract_unit"
require "rails"
-require "rack"
+require 'action_dispatch'
module ApplicationTests
class LoadTest < Test::Unit::TestCase
diff --git a/railties/test/initializer/path_test.rb b/railties/test/initializer/path_test.rb
index 8de3161546..f3d70ad4ca 100644
--- a/railties/test/initializer/path_test.rb
+++ b/railties/test/initializer/path_test.rb
@@ -6,6 +6,9 @@ class PathsTest < Test::Unit::TestCase
def self.setup
Rails::Initializer.run do |config|
config.frameworks = [:action_controller, :action_view, :action_mailer, :active_record]
+ config.after_initialize do
+ ActionController::Base.session_store = nil
+ end
end
end