module Mocha::ParameterMatchers

def yaml_equivalent(object)

Other tags:
    Example: Actual parameter is not YAML equivalent of specified +object+. -
    Example: Actual parameter is YAML equivalent of specified +object+. -

Other tags:
    See: Expectation#with -

Returns:
  • (YamlEquivalent) - parameter matcher.

Parameters:
  • object (Object) -- object whose YAML to compare.
def yaml_equivalent(object)
  YamlEquivalent.new(object)
end