Sha256: d377648c06d221ae76e39ce254725c063551602d0846682c240bbf308cf5cc0e
Contents?: true
Size: 322 Bytes
Versions: 6
Compression:
Stored size: 322 Bytes
Contents
require 'test_helper' module Schemacop class ValidatorBooleanTest < Minitest::Test def test_basic s = Schema.new do type :boolean end assert_nil s.validate! true assert_nil s.validate! false assert_verr { s.validate! nil } assert_verr { s.validate! 1 } end end end
Version data entries
6 entries across 6 versions & 1 rubygems