Sha256: ec0042e83cb7a9f5457f50c1a2b5aad5b84cfb9828bb3bf70a3f10ba1cd9ee8c
Contents?: true
Size: 346 Bytes
Versions: 1
Compression:
Stored size: 346 Bytes
Contents
require 'test_helper' 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-0.0.1 | test/cases/validate_confirmation_matcher_test.rb |