class Shoulda::Matchers::ActiveRecord::AssociationMatchers::OptionVerifier
def correct_for?(*args)
def correct_for?(*args) expected_value, name, type = args.reverse if expected_value.nil? true else expected_value = type_cast(type, expected_value_for(name, expected_value)) actual_value = type_cast(type, actual_value_for(name)) expected_value == actual_value end end