aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-06-15 11:36:21 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2012-06-15 11:36:32 -0700
commit8b35a239fb2dd9bfeed7f99f10e826a82dfb59da (patch)
tree9c284cbb2981200926bfea7c2320e593a988061b /railties
parent65df7b376a1566d3d2fc5f11babbcda34ffe5a22 (diff)
downloadrails-8b35a239fb2dd9bfeed7f99f10e826a82dfb59da.tar.gz
rails-8b35a239fb2dd9bfeed7f99f10e826a82dfb59da.tar.bz2
rails-8b35a239fb2dd9bfeed7f99f10e826a82dfb59da.zip
TestCase does not need to be loaded when loading the framework
Diffstat (limited to 'railties')
-rw-r--r--railties/test/application/configuration_test.rb11
1 files changed, 10 insertions, 1 deletions
diff --git a/railties/test/application/configuration_test.rb b/railties/test/application/configuration_test.rb
index f57391003a..c1aa98e481 100644
--- a/railties/test/application/configuration_test.rb
+++ b/railties/test/application/configuration_test.rb
@@ -148,6 +148,15 @@ module ApplicationTests
assert AppTemplate::Application.config.allow_concurrency
end
+ test "initialize a threadsafe app" do
+ add_to_config <<-RUBY
+ config.threadsafe!
+ RUBY
+
+ require "#{app_path}/config/application"
+ assert AppTemplate::Application.initialize!
+ end
+
test "asset_path defaults to nil for application" do
require "#{app_path}/config/environment"
assert_equal nil, AppTemplate::Application.config.asset_path
@@ -179,7 +188,7 @@ module ApplicationTests
require "#{app_path}/config/environment"
- assert !ActionController.autoload?(:Caching)
+ assert !ActionView.autoload?(:AssetPaths)
end
test "filter_parameters should be able to set via config.filter_parameters" do