Sha256: 42a81c25ea9c3f3939922db80e4642249c3394a90b6d031472a45b392f0ab88b
Contents?: true
Size: 466 Bytes
Versions: 5
Compression:
Stored size: 466 Bytes
Contents
# frozen_string_literal: true require_relative "../helper" module Arel module Nodes describe "Distinct" do describe "equality" do it "is equal to other distinct nodes" do array = [Distinct.new, Distinct.new] assert_equal 1, array.uniq.size end it "is not equal with other nodes" do array = [Distinct.new, Node.new] assert_equal 2, array.uniq.size end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems