We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b44bb81 commit ce85904Copy full SHA for ce85904
spec/helpers.rb
@@ -214,7 +214,8 @@ def define_testing_conninfo
214
ENV['PGPORT'] ||= "54321"
215
@port = ENV['PGPORT'].to_i
216
ENV['PGHOST'] = 'localhost'
217
- @conninfo = "host=localhost port=#{@port} dbname=test"
+ td = TEST_DIRECTORY + 'data'
218
+ @conninfo = "host=localhost port=#{@port} dbname=test sslrootcert=#{td + 'ruby-pg-ca-cert'} sslcert=#{td + 'ruby-pg-client-cert'} sslkey=#{td + 'ruby-pg-client-key'}"
219
@unix_socket = TEST_DIRECTORY.to_s
220
end
221
0 commit comments