# File lib/shoulda/active_record/macros.rb, line 335 335: def should_belong_to(*associations) 336: dependent = get_options!(associations, :dependent) 337: associations.each do |association| 338: matcher = belong_to(association).dependent(dependent) 339: should matcher.description do 340: assert_accepts(matcher, subject) 341: end 342: end 343: end