diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/visitors/test_to_sql.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/visitors/test_to_sql.rb b/test/visitors/test_to_sql.rb index 0a7af91397..b142ecd695 100644 --- a/test/visitors/test_to_sql.rb +++ b/test/visitors/test_to_sql.rb @@ -237,9 +237,9 @@ module Arel end it "should visit_Arel_Nodes_And" do - node = Nodes::And.new [@attr.eq(10), [@attr.eq(11), @attr.eq(12)]] + node = Nodes::And.new [@attr.eq(10), @attr.eq(11)] @visitor.accept(node).must_be_like %{ - "users"."id" = 10 AND "users"."id" = 11 AND "users"."id" = 12 + "users"."id" = 10 AND "users"."id" = 11 } end |