Class
RSpec::Mocks::ErrorGenerator
In:
lib/rspec/mocks/error_generator.rb
Parent:
Object
@private
Methods
describe_expectation
expected_part_of_expectation_error
method_call_args_description
new
opts
raise_block_failed_error
raise_double_negation_error
raise_expectation_error
raise_expectation_on_mocked_method
raise_expectation_on_unstubbed_method
raise_missing_block_error
raise_missing_default_stub_error
raise_only_valid_on_a_partial_mock
raise_out_of_order_error
raise_similar_message_args_error
raise_unexpected_message_args_error
raise_unexpected_message_error
raise_wrong_arity_error
received_part_of_expectation_error
Attributes
opts
[W]
Public Class methods
new
(target, name, options={})
raise_double_negation_error
(wrapped_expression)
Public Instance methods
describe_expectation
(message, expected_received_count, actual_received_count, *args)
@private
expected_part_of_expectation_error
(expected_received_count, expectation_count_type, argument_list_matcher)
@private
method_call_args_description
(args)
@private
opts
()
@private
raise_block_failed_error
(message, detail)
@private
raise_expectation_error
(message, expected_received_count, argument_list_matcher, actual_received_count, expectation_count_type, *args)
@private
raise_expectation_on_mocked_method
(method)
@private
raise_expectation_on_unstubbed_method
(method)
@private
raise_missing_block_error
(args_to_yield)
@private
raise_missing_default_stub_error
(expectation, *args)
@private
raise_only_valid_on_a_partial_mock
(method)
@private
raise_out_of_order_error
(message)
@private
raise_similar_message_args_error
(expectation, *args_for_multiple_calls)
@private
raise_unexpected_message_args_error
(expectation, *args)
@private
raise_unexpected_message_error
(message, *args)
@private
raise_wrong_arity_error
(args_to_yield, arity)
@private
received_part_of_expectation_error
(actual_received_count, *args)
@private
[Validate]