blob: 35b4d0a14d6d883f0082fb8825d45bbe3dbfff47 (
plain) (
tree)
|
|
# frozen_string_literal: true
require 'helper'
module Arel
module Nodes
describe 'True' do
describe 'equality' do
it 'is equal to other true nodes' do
array = [True.new, True.new]
assert_equal 1, array.uniq.size
end
it 'is not equal with other nodes' do
array = [True.new, Node.new]
assert_equal 2, array.uniq.size
end
end
end
end
end
|