Class
RSpec::Mocks::ErrorGenerator
In:
lib/rspec/mocks/error_generator.rb
Parent:
Object
Methods
new
opts
raise_block_failed_error
raise_expectation_error
raise_missing_block_error
raise_out_of_order_error
raise_similar_message_args_error
raise_unexpected_message_args_error
raise_unexpected_message_error
raise_wrong_arity_error
Attributes
opts
[W]
Public Class methods
new
(target, name, options={})
Public Instance methods
opts
()
raise_block_failed_error
(sym, detail)
raise_expectation_error
(sym, expected_received_count, actual_received_count, *args)
raise_missing_block_error
(args_to_yield)
raise_out_of_order_error
(sym)
raise_similar_message_args_error
(expectation, *args)
raise_unexpected_message_args_error
(expectation, *args)
raise_unexpected_message_error
(sym, *args)
raise_wrong_arity_error
(args_to_yield, arity)
[Validate]