aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/isolation
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2016-05-28 10:11:20 -0400
committerPrathamesh Sonpatki <csonpatki@gmail.com>2016-05-28 21:39:43 -0400
commitd58cd128dd2dbf7db80cee1e684533b74dfdd97c (patch)
tree4b884ff14b17841e2446a8edf03f4ba1954ca8dc /railties/test/isolation
parentc127491b716e46dfbf586e3044a67d0512c08b79 (diff)
downloadrails-d58cd128dd2dbf7db80cee1e684533b74dfdd97c.tar.gz
rails-d58cd128dd2dbf7db80cee1e684533b74dfdd97c.tar.bz2
rails-d58cd128dd2dbf7db80cee1e684533b74dfdd97c.zip
Move new default initializers into separate directory
- These initializers are new defaults for Rails 5 and newly generated apps do not need to change them. - Fixes #25181
Diffstat (limited to 'railties/test/isolation')
-rw-r--r--railties/test/isolation/abstract_unit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/isolation/abstract_unit.rb b/railties/test/isolation/abstract_unit.rb
index 52e0277633..9dac1008fa 100644
--- a/railties/test/isolation/abstract_unit.rb
+++ b/railties/test/isolation/abstract_unit.rb
@@ -111,7 +111,7 @@ module TestHelpers
# Delete the initializers unless requested
unless options[:initializers]
- Dir["#{app_path}/config/initializers/*.rb"].each do |initializer|
+ Dir["#{app_path}/config/initializers/**/*.rb"].each do |initializer|
File.delete(initializer)
end
end