# File lib/shoulda/active_record/macros.rb, line 149 149: def should_allow_values_for(attribute, *good_values) 150: get_options!(good_values) 151: good_values.each do |value| 152: matcher = allow_value(value).for(attribute) 153: should matcher.description do 154: assert_accepts matcher, subject 155: end 156: end 157: end