Parameter matcher which matches when actual parameter contains Hash entry with expected value.
@private
# File lib/mocha/parameter_matchers/has_value.rb, line 38 38: def matches?(available_parameters) 39: parameter = available_parameters.shift 40: return false unless parameter.respond_to?(:values) 41: parameter.values.any? { |value| @value.to_matcher.matches?([value]) } 42: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.