From 58d8ce503e55a303372b1200291cd513c16b1fe0 Mon Sep 17 00:00:00 2001 From: Tim Diggins Date: Sat, 9 Nov 2024 16:51:05 +0000 Subject: [PATCH] fix --- spec/support/databases.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/support/databases.rb b/spec/support/databases.rb index 36cf269..eb75f40 100644 --- a/spec/support/databases.rb +++ b/spec/support/databases.rb @@ -49,7 +49,7 @@ def connect_to_mysql ActiveRecord::Base.establish_connection( adapter: "mysql2", host: ENV.fetch('DB_HOST', 'localhost'), - username: ENV.fetch("MYSQL_USERNAME", "active_record_union"), + username: ENV.fetch("MYSQL_USER", "active_record_union"), password: ENV.fetch("MYSQL_PASSWORD", "active_record_union"), database: ENV.fetch("MYSQL_DB", "test_active_record_union") )