Sha256: 954f322fefb44353d9f609727defa1487657fbdae624d32d9e17be04fd2ceb31
Contents?: true
Size: 295 Bytes
Versions: 3
Compression:
Stored size: 295 Bytes
Contents
require "test_helper" class AMValidationWithFormatTest < MiniTest::Spec class SongForm < Reform::Form property :format validates :format, presence: true end class Song def format 1 end end it do SongForm.new(Song.new).validate({}).must_equal true end end
Version data entries
3 entries across 3 versions & 1 rubygems