diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-02-23 10:48:37 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-02-23 10:48:37 -0800 |
commit | b757de114cf79d0bab14b086f4ccc7480b9421d8 (patch) | |
tree | 0ca4d7ee6bc92f0337d894e2fcc844947d5d2c3d /test/visitors | |
parent | 6e427e589820278908e7a746749eb9b79b0f85e3 (diff) | |
parent | 74aadecc4f58e73704ac6a6fdaf25e48832374cf (diff) | |
download | rails-b757de114cf79d0bab14b086f4ccc7480b9421d8.tar.gz rails-b757de114cf79d0bab14b086f4ccc7480b9421d8.tar.bz2 rails-b757de114cf79d0bab14b086f4ccc7480b9421d8.zip |
Merge pull request #103 from alexstaubo/master
ANSI SQL2003 window functions
Diffstat (limited to 'test/visitors')
-rw-r--r-- | test/visitors/test_depth_first.rb | 6 |
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 |