Skip to content

Commit 8917729

Browse files
Fix missing linting violation
Follow-up to #1176 This was missed. There's a discrepancy between local linting and linting in CI. It might have to do with the different Ruby versions.
1 parent c7d3550 commit 8917729

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)