aboutsummaryrefslogtreecommitdiffstats
path: root/test/nodes/test_node.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-01-04 20:27:34 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2011-01-04 20:27:34 -0800
commitf0c4e3713d72a18a4100f85e263014f6e56bfad3 (patch)
treeccdcde4adb5ebfc4920daff19aa8ad38477b5caf /test/nodes/test_node.rb
parentdd1a65456fbfdc1f2a337aca535576d84145dcb6 (diff)
downloadrails-f0c4e3713d72a18a4100f85e263014f6e56bfad3.tar.gz
rails-f0c4e3713d72a18a4100f85e263014f6e56bfad3.tar.bz2
rails-f0c4e3713d72a18a4100f85e263014f6e56bfad3.zip
Added Arel::Nodes::NamedFunction for representing generic SQL functions
Diffstat (limited to 'test/nodes/test_node.rb')
-rw-r--r--test/nodes/test_node.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/nodes/test_node.rb b/test/nodes/test_node.rb
index ffa3f273ea..b8d06b9ccc 100644
--- a/test/nodes/test_node.rb
+++ b/test/nodes/test_node.rb
@@ -11,6 +11,7 @@ module Arel
Nodes.const_get(k)
}.grep(Class).each do |klass|
next if Nodes::SqlLiteral == klass
+ next if klass.name =~ /^Arel::Nodes::Test/
assert klass.ancestors.include?(Nodes::Node), klass.name
end
end