aboutsummaryrefslogtreecommitdiffstats
path: root/test/visitors/test_postgres.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/visitors/test_postgres.rb')
-rw-r--r--test/visitors/test_postgres.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/visitors/test_postgres.rb b/test/visitors/test_postgres.rb
index 446eae0c4a..e8df681269 100644
--- a/test/visitors/test_postgres.rb
+++ b/test/visitors/test_postgres.rb
@@ -4,7 +4,7 @@ module Arel
module Visitors
describe 'the postgres visitor' do
before do
- @visitor = PostgreSQL.new Table.engine
+ @visitor = PostgreSQL.new Table.engine.connection_pool
end
describe 'locking' do