# File lib/shoulda/active_record/macros.rb, line 98 98: def should_not_allow_mass_assignment_of(*attributes) 99: get_options!(attributes) 100: 101: attributes.each do |attribute| 102: matcher = allow_mass_assignment_of(attribute) 103: should "not #{matcher.description}" do 104: assert_rejects matcher, subject 105: end 106: end 107: end