diff --git a/spec/pg/scheduler_spec.rb b/spec/pg/scheduler_spec.rb index f7abd05d7..95e182607 100644 --- a/spec/pg/scheduler_spec.rb +++ b/spec/pg/scheduler_spec.rb @@ -62,7 +62,7 @@ end end - it "connects using without host but envirinment variables", :postgresql_12, :unix_socket do + it "connects with environment variables", :postgresql_12, :unix_socket do run_with_scheduler do vars = PG::Connection.conninfo_parse(@conninfo_gate).each_with_object({}){|h, o| o[h[:keyword].to_sym] = h[:val] if h[:val] }