Sha256: 892380428ddd5242fe70e8ed2c97b8004a45d058864df9b66a872d30758af073
Contents?: true
Size: 456 Bytes
Versions: 117
Compression:
Stored size: 456 Bytes
Contents
module Mocha # :nodoc: class UnexpectedInvocation def initialize(mock, symbol, *arguments) @mock = mock @method_matcher = MethodMatcher.new(symbol) @parameters_matcher = ParametersMatcher.new(arguments) end def to_s method_signature = "#{@mock.mocha_inspect}.#{@method_matcher.mocha_inspect}#{@parameters_matcher.mocha_inspect}" "unexpected invocation: #{method_signature}\n" end end end
Version data entries
117 entries across 112 versions & 13 rubygems