method
raise_expectation_error

raise_expectation_error(sym, expected_received_count, actual_received_count, *args)
public
Hide source
# File lib/spec/mocks/error_generator.rb, line 26 def raise_expectation_error(sym, expected_received_count, actual_received_count, *args) __raise "#{intro} expected :#{sym}#{arg_message(*args)} #{count_message(expected_received_count)}, but received it #{count_message(actual_received_count)}" end