# File lib/shoulda/active_record/macros.rb, line 285 285: def should_have_many(*associations) 286: through, dependent = get_options!(associations, :through, :dependent) 287: associations.each do |association| 288: matcher = have_many(association).through(through).dependent(dependent) 289: should matcher.description do 290: assert_accepts(matcher, subject) 291: end 292: end 293: end