Sha256: 2ac0a96250aad43fdf4ffad5b3d2c465628fc8bcb203584c7a8df0bf7f71948e
Contents?: true
Size: 306 Bytes
Versions: 3
Compression:
Stored size: 306 Bytes
Contents
module MiniTest module Matchers module ActiveModel # Ensures that the model's attribute matches confirmation. # # it { must validate_confirmation_of :password } def validate_confirmation_of attr ValidationMatcher.new attr, :confirmation end end end end
Version data entries
3 entries across 3 versions & 1 rubygems