Skip to content

Commit eee50f6

Browse files
committed
show conninfo
1 parent 3be96f9 commit eee50f6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

test/database.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ connections:
88
password: <%= ENV["PGPASSWORD"] || "" %>
99
setup: default
1010
schema_search_path: public
11-
aruint2:
11+
arunit2:
1212
host: <%= ENV["PGHOST"] || "127.0.0.1" %>
1313
port: <%= ENV["PGPORT"] || "5432" %>
1414
database: <%= ENV["PGDATABASE"] || "postgis_adapter_test" %>

test/test_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ def wrap_the_thing(name)
9191
puts
9292
puts "#{name} took #{Minitest.clock_time - t0} seconds"
9393
puts
94+
pp SpatialModel.lease_connection.instance_variable_get(:@raw_connection).conninfo_hash
95+
puts
9496
StackProf::Report.new(profile).print_text
9597
rv
9698
end

0 commit comments

Comments
 (0)