Skip to content

Commit 723ccf8

Browse files
committed
Add require to failing multi_db test
This started failing related to the removal of the classic autoloader. This adds the require of environment.rb that other tests already had.
1 parent 2daef10 commit 723ccf8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

railties/test/application/rake/multi_dbs_test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,7 @@ def generate_models_for_animals
478478
end
479479

480480
test "db:schema:load:name sets the connection back to its original state" do
481+
require "#{app_path}/config/environment"
481482
Dir.chdir(app_path) do
482483
dummy_task = <<~RUBY
483484
task foo: :environment do

0 commit comments

Comments
 (0)