blob: 55b5d9d58427fec75b338639351e1dd100e0b323 (
plain) (
tree)
|
|
# frozen_string_literal: true
require "cases/helper"
module ActiveModel
module Type
class ValueTest < ActiveModel::TestCase
def test_type_equality
assert_equal Type::Value.new, Type::Value.new
assert_not_equal Type::Value.new, Type::Integer.new
assert_not_equal Type::Value.new(precision: 1), Type::Value.new(precision: 2)
end
end
end
end
|