From 438d553b76f59eed003c8e4bb569936e68e0e7c2 Mon Sep 17 00:00:00 2001
From: Sean Griffin <sean@thoughtbot.com>
Date: Sat, 25 Oct 2014 07:18:28 -0500
Subject: =?UTF-8?q?=F0=9F=92=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 test/attributes/test_attribute.rb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'test/attributes')

diff --git a/test/attributes/test_attribute.rb b/test/attributes/test_attribute.rb
index 264ba7e878..0851a07258 100644
--- a/test/attributes/test_attribute.rb
+++ b/test/attributes/test_attribute.rb
@@ -712,7 +712,7 @@ module Arel
             attribute = Attribute.new nil, nil
             node = attribute.not_in(1..3)
 
-            node.must_equal Nodes::Or.new(
+            node.must_equal Nodes::Grouping.new(Nodes::Or.new(
               Nodes::LessThan.new(
                 attribute,
                 Nodes::Casted.new(1, attribute)
@@ -721,7 +721,7 @@ module Arel
                 attribute,
                 Nodes::Casted.new(3, attribute)
               )
-            )
+            ))
           end
 
           it 'can be constructed with a range starting from -Infinity' do
@@ -765,7 +765,7 @@ module Arel
             attribute = Attribute.new nil, nil
             node = attribute.not_in(0...3)
 
-            node.must_equal Nodes::Or.new(
+            node.must_equal Nodes::Grouping.new(Nodes::Or.new(
               Nodes::LessThan.new(
                 attribute,
                 Nodes::Casted.new(0, attribute)
@@ -774,7 +774,7 @@ module Arel
                 attribute,
                 Nodes::Casted.new(3, attribute)
               )
-            )
+            ))
           end
         end
 
-- 
cgit v1.2.3