From 60610b818d7979323fe9290ea6e6976867ba9d27 Mon Sep 17 00:00:00 2001 From: Washington Botelho Date: Wed, 18 May 2022 10:40:21 -0300 Subject: [PATCH] fix: for no password we should use empty string --- spec/support/database.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/support/database.rb b/spec/support/database.rb index cd19fbe..ea50d67 100644 --- a/spec/support/database.rb +++ b/spec/support/database.rb @@ -15,7 +15,7 @@ when 'mysql' when 'postgres' require 'pg' - client = PG::Connection.new(host: conn_params[:host], user: :postgres) + client = PG::Connection.new(host: conn_params[:host], password: '', user: :postgres) conn_params[:adapter] = :postgresql conn_params[:username] = :postgres