module Mocha::ParameterMatchers
def equals(value)
- Example: Actual parameter does not equal expected parameter. -
Example: Actual parameter equals expected parameter. -
Other tags:
- See: Object#== -
See: Expectation#with -
Returns:
-
(Equals)
- parameter matcher.
Parameters:
-
value
(Object
) -- expected value.
def equals(value) Equals.new(value) end