Sha256: 9be77c2da118e9f3f4a86223a4a819edd754c335acce13e4d91e9dc39981d5ed
Contents?: true
Size: 368 Bytes
Versions: 1
Compression:
Stored size: 368 Bytes
Contents
require 'test_helper' require 'models/user' class ValidateConfirmationMatcherTest < MiniTest::Unit::TestCase test 'must validate confirmation of an attribute' do assert_must validate_confirmation_of(:password), User end test 'must not validate confirmation of an optional attribute' do assert_wont validate_confirmation_of(:no_confirm), User end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
minitest-activemodel-1.0.0 | test/cases/validate_confirmation_matcher_test.rb |