class Shoulda::Matchers::ActiveRecord::AssociationMatchers::RequiredMatcher
def matches?(subject)
def matches?(subject) if submatcher_passes?(subject) true else @missing_option = build_missing_option false end end
def matches?(subject) if submatcher_passes?(subject) true else @missing_option = build_missing_option false end end