# File lib/shoulda/active_record/macros.rb, line 456 456: def should_validate_acceptance_of(*attributes) 457: message = get_options!(attributes, :message) 458: 459: attributes.each do |attribute| 460: matcher = validate_acceptance_of(attribute).with_message(message) 461: should matcher.description do 462: assert_accepts matcher, subject 463: end 464: end 465: end