forked from fixin.me/fixin.me
Replace the RAILS_DATABASE_YML / Dir.mktmpdir approach with DATABASE_URL: - Read database config via Rails.application.config.database_configuration instead of manually parsing YAML+ERB - Build a DATABASE_URL from each test config and pass it to subprocesses; Rails merges it on top of the test: entry — no temp files needed - Remove non_test_configs, Dir.mktmpdir, and the require yaml/erb/tmpdir - Remove RAILS_DATABASE_YML override from config/application.rb(.dist) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2.2 KiB
2.2 KiB