Sha256: 31fe168bb6c1dd407b80b7855ea9e104090b0aafeda917e5611c7d37c292bec6
Contents?: true
Size: 366 Bytes
Versions: 8
Compression:
Stored size: 366 Bytes
Contents
require "reform" require "minitest/autorun" class ValidationLibraryProvidedTest < MiniTest::Spec it "no validation library loaded" do assert_raises Reform::Validation::NoValidationLibraryError do class PersonForm < Reform::Form property :name validation do required(:name).maybe(:str?) end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems