module Shoulda::Matchers::ActiveRecord
def have_one(name)
-
(AssociationMatcher)
-
def have_one(name) AssociationMatcher.new(:has_one, name) end
(AssociationMatcher)
-
def have_one(name) AssociationMatcher.new(:has_one, name) end