aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/initializer
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-01-23 22:30:17 +0100
committerJosé Valim <jose.valim@gmail.com>2010-01-23 22:30:17 +0100
commitb17e358e3df34c03019e357f693611618092e1d6 (patch)
treeb960982715bd307aab062dc3f1621edbf831a8e0 /railties/test/initializer
parent788fce2550ed587d86d239d8fcd488f919d15b5d (diff)
downloadrails-b17e358e3df34c03019e357f693611618092e1d6.tar.gz
rails-b17e358e3df34c03019e357f693611618092e1d6.tar.bz2
rails-b17e358e3df34c03019e357f693611618092e1d6.zip
Move configuration to subfolders.
Diffstat (limited to 'railties/test/initializer')
-rw-r--r--railties/test/initializer/path_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/test/initializer/path_test.rb b/railties/test/initializer/path_test.rb
index 4f475fae11..54bdddbdf2 100644
--- a/railties/test/initializer/path_test.rb
+++ b/railties/test/initializer/path_test.rb
@@ -79,17 +79,17 @@ module InitializerTests
test "controller paths include builtin in development mode" do
Rails.env.replace "development"
- assert Rails::Configuration.new("/").paths.app.controllers.paths.any? { |p| p =~ /builtin/ }
+ assert Rails::Application::Configuration.new("/").paths.app.controllers.paths.any? { |p| p =~ /builtin/ }
end
test "controller paths does not have builtin_directories in test mode" do
Rails.env.replace "test"
- assert !Rails::Configuration.new("/").paths.app.controllers.paths.any? { |p| p =~ /builtin/ }
+ assert !Rails::Application::Configuration.new("/").paths.app.controllers.paths.any? { |p| p =~ /builtin/ }
end
test "controller paths does not have builtin_directories in production mode" do
Rails.env.replace "production"
- assert !Rails::Configuration.new("/").paths.app.controllers.paths.any? { |p| p =~ /builtin/ }
+ assert !Rails::Application::Configuration.new("/").paths.app.controllers.paths.any? { |p| p =~ /builtin/ }
end
end