# File lib/shoulda/active_record/macros.rb, line 320 320: def should_have_and_belong_to_many(*associations) 321: get_options!(associations) 322: 323: associations.each do |association| 324: matcher = have_and_belong_to_many(association) 325: should matcher.description do 326: assert_accepts(matcher, subject) 327: end 328: end 329: end