aboutsummaryrefslogtreecommitdiffstats
path: root/test/visitors/test_depth_first.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/visitors/test_depth_first.rb')
-rw-r--r--test/visitors/test_depth_first.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/visitors/test_depth_first.rb b/test/visitors/test_depth_first.rb
index e62ce5266f..9c01fb8fcc 100644
--- a/test/visitors/test_depth_first.rb
+++ b/test/visitors/test_depth_first.rb
@@ -179,7 +179,8 @@ module Arel
core.froms = :b
core.wheres << :c
core.groups << :d
- core.having = :e
+ core.windows << :e
+ core.having = :f
@visitor.accept core
assert_equal [
@@ -188,7 +189,8 @@ module Arel
core.source,
:c, core.wheres,
:d, core.groups,
- :e,
+ :e, core.windows,
+ :f,
core], @collector.calls
end