From fbbe05e409c5f24ac58095426d9c729ee611df00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Sat, 27 Aug 2016 14:39:52 +0200 Subject: Add Arel::Nodes::Casted to dot visitor Adds casted node to the dot visitor with outgoing edges to val and attribute. Fixes #419 --- test/visitors/test_dot.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/visitors/test_dot.rb b/test/visitors/test_dot.rb index 4dc3c9c6c5..fa1c69e10d 100644 --- a/test/visitors/test_dot.rb +++ b/test/visitors/test_dot.rb @@ -64,6 +64,7 @@ module Arel Arel::Nodes::As, Arel::Nodes::DeleteStatement, Arel::Nodes::JoinSource, + Arel::Nodes::Casted, ].each do |klass| define_method("test_#{klass.name.gsub('::', '_')}") do binary = klass.new(:a, :b) -- cgit v1.2.3