module Mocha::ParameterMatchers
def has_value(value) # rubocop:disable Naming/PredicateName
- Example: Actual parameter does not contain entry with expected value. -
Example: Actual parameter contains entry with expected value. -
Other tags:
- See: Expectation#with -
Returns:
-
(HasValue)
- parameter matcher.
Parameters:
-
value
(Object
) -- expected value.
def has_value(value) # rubocop:disable Naming/PredicateName HasValue.new(value) end