Skip to content
Browse files

Remove invalid builtin tests since we aren't adding that dir to the

load path anymore
  • Loading branch information...
1 parent fcc6b12 commit 87db863fa212abd45be008c40ba1fb7ea26b6b60 @josh josh committed Mar 20, 2010
Showing with 0 additions and 18 deletions.
  1. +0 −18 railties/test/application/paths_test.rb
View
18 railties/test/application/paths_test.rb
@@ -51,8 +51,6 @@ def assert_not_in_load_path(*path)
assert_path @paths.config.environment, "config", "environments", "development.rb"
assert_equal root("app", "controllers"), @paths.app.controllers.to_a.first
- assert_equal Pathname.new(File.dirname(__FILE__)).join("..", "..", "builtin", "rails_info").expand_path,
- Pathname.new(@paths.app.controllers.to_a[1]).expand_path
end
test "booting up Rails yields a list of paths that are eager" do
@@ -80,21 +78,5 @@ def assert_not_in_load_path(*path)
assert_not_in_load_path "tmp"
assert_not_in_load_path "tmp", "cache"
end
-
- test "controller paths include builtin in development mode" do
- Rails.env.replace "development"
- 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::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::Application::Configuration.new("/").paths.app.controllers.paths.any? { |p| p =~ /builtin/ }
- end
-
end
end

0 comments on commit 87db863

Please sign in to comment.
Something went wrong with that request. Please try again.