From 33aab3adbd3f07887f1e6ce04a7b0983367fe1f0 Mon Sep 17 00:00:00 2001 From: Dimko Date: Wed, 17 Sep 2014 23:27:59 +0400 Subject: Fix set visiting spec --- test/visitors/test_to_sql.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/visitors') diff --git a/test/visitors/test_to_sql.rb b/test/visitors/test_to_sql.rb index d84142e27a..b495c4d994 100644 --- a/test/visitors/test_to_sql.rb +++ b/test/visitors/test_to_sql.rb @@ -230,7 +230,7 @@ module Arel end it "should visit_Set" do - @visitor.accept Set.new([1, 2]) + compile Nodes.build_quoted(Set.new([1, 2])) end it "should visit_BigDecimal" do -- cgit v1.2.3