# File lib/shoulda/active_record/matchers/association_matcher.rb, line 42 42: def have_one(name) 43: AssociationMatcher.new(:has_one, name) 44: end