module Shoulda::Matchers::ActiveRecord

def belong_to(name)

Returns:
  • (AssociationMatcher) -
def belong_to(name)
  AssociationMatcher.new(:belongs_to, name)
end