diff options
author | Oliver Günther <mail@oliverguenther.de> | 2016-08-27 14:39:52 +0200 |
---|---|---|
committer | Oliver Günther <mail@oliverguenther.de> | 2016-08-27 14:39:52 +0200 |
commit | fbbe05e409c5f24ac58095426d9c729ee611df00 (patch) | |
tree | 13dc41710ff1f0fe354e6013fd6b8b1723803cfd /test/visitors | |
parent | 09827f361d4bc73e6ff157d9feb74a465e4e4cdd (diff) | |
download | rails-fbbe05e409c5f24ac58095426d9c729ee611df00.tar.gz rails-fbbe05e409c5f24ac58095426d9c729ee611df00.tar.bz2 rails-fbbe05e409c5f24ac58095426d9c729ee611df00.zip |
Add Arel::Nodes::Casted to dot visitor
Adds casted node to the dot visitor with outgoing edges to val and
attribute.
Fixes #419
Diffstat (limited to 'test/visitors')
-rw-r--r-- | test/visitors/test_dot.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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) |