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:
commit
2344463b97
1 changed files with 1 additions and 0 deletions
|
@ -478,6 +478,7 @@ module ApplicationTests
|
||||||
end
|
end
|
||||||
|
|
||||||
test "db:schema:load:name sets the connection back to its original state" do
|
test "db:schema:load:name sets the connection back to its original state" do
|
||||||
|
require "#{app_path}/config/environment"
|
||||||
Dir.chdir(app_path) do
|
Dir.chdir(app_path) do
|
||||||
dummy_task = <<~RUBY
|
dummy_task = <<~RUBY
|
||||||
task foo: :environment do
|
task foo: :environment do
|
||||||
|
|
Loading…
Reference in a new issue