blob: 748879a5389985eb02f8e68aebcaad7746042bb3 (
plain) (
tree)
|
|
# frozen_string_literal: true
require 'helper'
module Arel
module Nodes
describe Casted do
describe '#hash' do
it 'is equal when eql? returns true' do
one = Casted.new 1, 2
also_one = Casted.new 1, 2
assert_equal one.hash, also_one.hash
end
end
end
end
end
|