aboutsummaryrefslogtreecommitdiffstats
path: root/test/visitors
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-09-17 17:08:18 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-09-17 17:08:18 -0300
commit6c66b12684e7610187c96f505aefa33dfc117f22 (patch)
tree6e1fc62f6d6e3394239ede1acb1b3e2871b23411 /test/visitors
parentfe7d2aff8ceb0c8cccd64358744ac01c6fc28d89 (diff)
parent33aab3adbd3f07887f1e6ce04a7b0983367fe1f0 (diff)
downloadrails-6c66b12684e7610187c96f505aefa33dfc117f22.tar.gz
rails-6c66b12684e7610187c96f505aefa33dfc117f22.tar.bz2
rails-6c66b12684e7610187c96f505aefa33dfc117f22.zip
Merge pull request #317 from dimko/patch-2
Fix set visiting spec
Diffstat (limited to 'test/visitors')
-rw-r--r--test/visitors/test_to_sql.rb2
1 files changed, 1 insertions, 1 deletions
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