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

def through_association_correct?

def through_association_correct?
  if option_verifier.correct_for_string?(:through, through)
    true
  else
    self.missing_option =
      "Expected #{name} to have #{name} through #{through}, "\
      'but got it through ' +
      option_verifier.actual_value_for(:through).to_s
    false
  end
end