Skip to content

Commit 2344463

Browse files
authored
Merge pull request rails#43083 from jhawthorn/fix_multi_db_test
Add require to failing multi_db test
2 parents 2daef10 + 723ccf8 commit 2344463

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)