Skip to content

Commit 97f1883

Browse files
Fix missing linting violation (#1177)
Follow-up to #1176 This was missed. I'm still not sure how the code that introduced did not fail in CI.
1 parent c7d3550 commit 97f1883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def with_test_suite(test_suite, &block)
103103
def with_database(database, &block)
104104
backup_file "config/database.yml"
105105
configuration = File.read app_root("config/database.yml")
106-
configuration = YAML.load(configuration, aliases: true)
106+
configuration = YAML.safe_load(configuration, aliases: true)
107107
configuration["default"]["adapter"] = database
108108
File.open(app_root("config/database.yml"), "w") { _1.write configuration.to_yaml }
109109

0 commit comments

Comments
 (0)