From 79411322ae225289e1c051f4f68ed84c6349e4a0 Mon Sep 17 00:00:00 2001 From: Jon Leighton Date: Mon, 8 Aug 2011 23:23:51 +0100 Subject: Make it the responsibility of the connection to hold on to a visitor for generating SQL, rather than the TreeManager. (There is a related commit coming in Active Record.) --- test/visitors/test_postgres.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/visitors/test_postgres.rb') 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 -- cgit v1.2.3