1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #43083 from jhawthorn/fix_multi_db_test

Add require to failing multi_db test
This commit is contained in:
Xavier Noria 2021-08-23 20:32:46 +02:00 committed by GitHub
commit 2344463b97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -478,6 +478,7 @@ module ApplicationTests
end
test "db:schema:load:name sets the connection back to its original state" do
require "#{app_path}/config/environment"
Dir.chdir(app_path) do
dummy_task = <<~RUBY
task foo: :environment do