# File lib/shoulda/active_record/macros.rb, line 35 35: def should_validate_presence_of(*attributes) 36: message = get_options!(attributes, :message) 37: 38: attributes.each do |attribute| 39: matcher = validate_presence_of(attribute).with_message(message) 40: should matcher.description do 41: assert_accepts(matcher, subject) 42: end 43: end 44: end