# File lib/matchers/associations.rb, line 281 def belong_to_related(association_name) HaveAssociationMatcher.new(association_name, BELONGS_TO) end
# File lib/matchers/associations.rb, line 276 def have_many_related(association_name) HaveAssociationMatcher.new(association_name, HAS_MANY) end
# File lib/matchers/associations.rb, line 271 def have_one_related(association_name) HaveAssociationMatcher.new(association_name, HAS_ONE) end