Sha256: cfe5b1ae26aaa54e7f5ca059ab4ed064bb7b5e24165cf181fa4fb82d3a3ab8b9
Contents?: true
Size: 310 Bytes
Versions: 36
Compression:
Stored size: 310 Bytes
Contents
require 'test_helper' module Schemacop module V2 class EmptyHashTest < V2Test def test_empty_hash schema = Schema.new do type Hash end assert_nothing_raised { schema.validate!({}) } assert_verr { schema.validate!(foo: :bar) } end end end end
Version data entries
36 entries across 36 versions & 1 rubygems