aboutsummaryrefslogtreecommitdiffstats
path: root/test/nodes/test_select_core.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/nodes/test_select_core.rb')
-rw-r--r--test/nodes/test_select_core.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/nodes/test_select_core.rb b/test/nodes/test_select_core.rb
index 47f85aee8a..4382c79865 100644
--- a/test/nodes/test_select_core.rb
+++ b/test/nodes/test_select_core.rb
@@ -23,7 +23,7 @@ module Arel
def test_set_quantifier
core = Arel::Nodes::SelectCore.new
core.set_quantifier = Arel::Nodes::Distinct.new
- viz = Arel::Visitors::ToSql.new Table.engine
+ viz = Arel::Visitors::ToSql.new Table.engine.connection_pool
assert_match 'DISTINCT', viz.accept(core)
end
end