diff --git a/spec/pg/connection_spec.rb b/spec/pg/connection_spec.rb index c3f15aa7..fcc277b5 100644 --- a/spec/pg/connection_spec.rb +++ b/spec/pg/connection_spec.rb @@ -586,7 +586,7 @@ Thread.current.report_on_exception = false expect do threaded_conn = PG.connect( @conninfo + " sslcert=tmp_test_specs/data/ruby-pg-ca-cert" ) - res = threaded_conn.exec("SELECT 1") + threaded_conn.exec("SELECT 1") threaded_conn.close end.not_to raise_error end