method
raise_expectation_error
1.1.12 -
Show latest stable
- Class:
Spec::Mocks::ErrorGenerator
raise_expectation_error(sym, expected_received_count, actual_received_count, *args)public
No documentation available.
# File lib/spec/mocks/error_generator.rb, line 25
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