class Shoulda::Matchers::ActiveRecord::AssociationMatchers::ThroughMatcher

def through_association_exists?

def through_association_exists?
  if through_reflection.present?
    true
  else
    self.missing_option =
      "#{name} does not have any relationship to #{through}"
    false
  end
end