From c78227d9b219933f54cecefb99c72bb231fbb8f2 Mon Sep 17 00:00:00 2001 From: Ernie Miller Date: Sat, 19 May 2012 11:10:47 -0400 Subject: Include Predications in Grouping Also, removed unused ordering.rb file, since it is identical to the one being created in unary.rb already, and isn't required anywhere. --- test/nodes/test_grouping.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/nodes/test_grouping.rb (limited to 'test') diff --git a/test/nodes/test_grouping.rb b/test/nodes/test_grouping.rb new file mode 100644 index 0000000000..3f84ac301e --- /dev/null +++ b/test/nodes/test_grouping.rb @@ -0,0 +1,13 @@ +require 'helper' + +module Arel + module Nodes + describe 'Grouping' do + it 'should create Equality nodes' do + grouping = Grouping.new('foo') + grouping.eq('foo').to_sql.must_be_like %q{('foo') = 'foo'} + end + end + end +end + -- cgit v1.2.3