Skip to content

Commit

Permalink
Fix missing linting violation (#1177)
Browse files Browse the repository at this point in the history
Follow-up to #1176

This was missed. I'm still not sure how the code that introduced did not fail in CI.
  • Loading branch information
stevepolitodesign authored Mar 25, 2024
1 parent c7d3550 commit 97f1883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def with_test_suite(test_suite, &block)
def with_database(database, &block)
backup_file "config/database.yml"
configuration = File.read app_root("config/database.yml")
configuration = YAML.load(configuration, aliases: true)
configuration = YAML.safe_load(configuration, aliases: true)
configuration["default"]["adapter"] = database
File.open(app_root("config/database.yml"), "w") { _1.write configuration.to_yaml }

Expand Down

0 comments on commit 97f1883

Please sign in to comment.