class MiniTest::Matchers::ActiveModel::ValidateAssociated

Public Class Methods

new(association_name) click to toggle source
Calls superclass method
# File lib/matchers/validate_associated_matcher.rb, line 16
def initialize association_name
  super association_name, :associated
end

Public Instance Methods

description() click to toggle source
# File lib/matchers/validate_associated_matcher.rb, line 20
def description
  "validate associated #{@attr.inspect}"
end