Table of Contents - rspec-mocks-2.11.1 Documentation
Classes/Modules
Marshal
Psych
RSpec
RSpec::Mocks
RSpec::Mocks::AmbiguousReturnError
RSpec::Mocks::AnyInstance
RSpec::Mocks::AnyInstance::Chain
RSpec::Mocks::AnyInstance::ExpectationChain
RSpec::Mocks::AnyInstance::MessageChains
RSpec::Mocks::AnyInstance::NegativeExpectationChain
RSpec::Mocks::AnyInstance::PositiveExpectationChain
RSpec::Mocks::AnyInstance::Recorder
RSpec::Mocks::AnyInstance::StubChain
RSpec::Mocks::AnyInstance::StubChainChain
RSpec::Mocks::ArgumentListMatcher
RSpec::Mocks::ArgumentMatchers
RSpec::Mocks::ArgumentMatchers::AnyArgMatcher
RSpec::Mocks::ArgumentMatchers::AnyArgsMatcher
RSpec::Mocks::ArgumentMatchers::BooleanMatcher
RSpec::Mocks::ArgumentMatchers::DuckTypeMatcher
RSpec::Mocks::ArgumentMatchers::EqualityProxy
RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher
RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher
RSpec::Mocks::ArgumentMatchers::InstanceOf
RSpec::Mocks::ArgumentMatchers::KindOf
RSpec::Mocks::ArgumentMatchers::MatcherMatcher
RSpec::Mocks::ArgumentMatchers::NoArgsMatcher
RSpec::Mocks::ArgumentMatchers::RegexpMatcher
RSpec::Mocks::Constant
RSpec::Mocks::ConstantStubber
RSpec::Mocks::ConstantStubber::BaseStubber
RSpec::Mocks::ConstantStubber::DefinedConstantReplacer
RSpec::Mocks::ConstantStubber::UndefinedConstantSetter
RSpec::Mocks::ErrorGenerator
RSpec::Mocks::ExampleMethods
RSpec::Mocks::InstanceExec
RSpec::Mocks::MessageExpectation
RSpec::Mocks::MethodDouble
RSpec::Mocks::MethodDouble::@object;
RSpec::Mocks::Methods
RSpec::Mocks::Mock
RSpec::Mocks::MockExpectationError
RSpec::Mocks::NegativeMessageExpectation
RSpec::Mocks::OrderGroup
RSpec::Mocks::Proxy
RSpec::Mocks::RecursiveConstMethods
RSpec::Mocks::Serialization
RSpec::Mocks::Serialization::YAML
RSpec::Mocks::Space
RSpec::Mocks::TestDouble
RSpec::Mocks::Version
RSpec::Mocks::host;
Methods
::add_extensions — RSpec::Mocks
::allow_message_expectations_on_nil — RSpec::Mocks::Proxy
::allow_message_expectations_on_nil? — RSpec::Mocks::Proxy
::dump — Marshal
::dump — Psych
::dump_with_mocks — Marshal
::dump_with_mocks — Psych
::dump_without_mocks — Marshal
::dump_without_mocks — Psych
::ensure_registered_with_mocks_space — RSpec::Mocks::ConstantStubber
::extend_onto — RSpec::Mocks::TestDouble
::extensions_added? — RSpec::Mocks
::find — RSpec::Mocks::ConstantStubber
::fix_for — RSpec::Mocks::Serialization
::new — RSpec::Mocks::ArgumentMatchers::EqualityProxy
::new — RSpec::Mocks::ArgumentMatchers::BooleanMatcher
::new — RSpec::Mocks::AnyInstance::NegativeExpectationChain
::new — RSpec::Mocks::AnyInstance::PositiveExpectationChain
::new — RSpec::Mocks::ArgumentMatchers::RegexpMatcher
::new — RSpec::Mocks::MessageExpectation
::new — RSpec::Mocks::AnyInstance::MessageChains
::new — RSpec::Mocks::AnyInstance::ExpectationChain
::new — RSpec::Mocks::NegativeMessageExpectation
::new — RSpec::Mocks::AnyInstance::Recorder
::new — RSpec::Mocks::ArgumentMatchers::AnyArgMatcher
::new — RSpec::Mocks::MethodDouble
::new — RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher
::new — RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher
::new — RSpec::Mocks::ArgumentMatchers::InstanceOf
::new — RSpec::Mocks::ArgumentMatchers::KindOf
::new — RSpec::Mocks::ArgumentListMatcher
::new — RSpec::Mocks::TestDouble
::new — RSpec::Mocks::ArgumentMatchers::DuckTypeMatcher
::new — RSpec::Mocks::AnyInstance::StubChainChain
::new — RSpec::Mocks::ErrorGenerator
::new — RSpec::Mocks::Constant
::new — RSpec::Mocks::ConstantStubber::BaseStubber
::new — RSpec::Mocks::AnyInstance::StubChain
::new — RSpec::Mocks::ArgumentMatchers::MatcherMatcher
::new — RSpec::Mocks::OrderGroup
::new — RSpec::Mocks::Proxy
::original — RSpec::Mocks::Constant
::raise_on_invalid_const — RSpec::Mocks::ConstantStubber
::record — RSpec::Mocks::AnyInstance::Chain
::rspec_reset — RSpec::Mocks::ConstantStubber
::setup — RSpec::Mocks
::stub — RSpec::Mocks::ConstantStubber
::stubbers — RSpec::Mocks::ConstantStubber
::teardown — RSpec::Mocks
::unstubbed — RSpec::Mocks::Constant
::verify — RSpec::Mocks
::warn_about_expectations_on_nil — RSpec::Mocks::Proxy
::warn_about_expectations_on_nil= — RSpec::Mocks::Proxy
#== — RSpec::Mocks::TestDouble
#== — RSpec::Mocks::ArgumentMatchers::KindOf
#== — RSpec::Mocks::ArgumentMatchers::DuckTypeMatcher
#== — RSpec::Mocks::ArgumentMatchers::InstanceOf
#== — RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher
#== — RSpec::Mocks::ArgumentMatchers::EqualityProxy
#== — RSpec::Mocks::ArgumentMatchers::MatcherMatcher
#== — RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher
#== — RSpec::Mocks::ArgumentMatchers::RegexpMatcher
#== — RSpec::Mocks::ArgumentMatchers::BooleanMatcher
#== — RSpec::Mocks::ArgumentMatchers::AnyArgMatcher
#__initialize_as_test_double — RSpec::Mocks::TestDouble
#__mock_proxy — RSpec::Mocks::Methods
#__raise — RSpec::Mocks::ErrorGenerator
#__recorder — RSpec::Mocks::AnyInstance
#__remove_mock_proxy — RSpec::Mocks::Methods
#__rspec_dup — RSpec::Mocks::AnyInstance
#a_kind_of — RSpec::Mocks::ArgumentMatchers
#actual_received_count_matters? — RSpec::Mocks::MessageExpectation
#add — RSpec::Mocks::Space
#add — RSpec::Mocks::AnyInstance::MessageChains
#add_default_stub — RSpec::Mocks::MethodDouble
#add_expectation — RSpec::Mocks::MethodDouble
#add_message_expectation — RSpec::Mocks::Proxy
#add_negative_expectation — RSpec::Mocks::MethodDouble
#add_negative_message_expectation — RSpec::Mocks::Proxy
#add_stub — RSpec::Mocks::Proxy
#add_stub — RSpec::Mocks::MethodDouble
#advise — RSpec::Mocks::MessageExpectation
#all_expectations_fulfilled? — RSpec::Mocks::AnyInstance::MessageChains
#allow_message_expectations_on_nil — RSpec::Mocks::ExampleMethods
#already_observing? — RSpec::Mocks::AnyInstance::Recorder
#already_proxied_respond_to — RSpec::Mocks::Proxy
#already_proxied_respond_to? — RSpec::Mocks::Proxy
#an_instance_of — RSpec::Mocks::ArgumentMatchers
#and_raise — RSpec::Mocks::MessageExpectation
#and_return — RSpec::Mocks::MessageExpectation
#and_return — RSpec::Mocks::NegativeMessageExpectation
#and_throw — RSpec::Mocks::MessageExpectation
#and_yield — RSpec::Mocks::MessageExpectation
#any_args — RSpec::Mocks::ArgumentMatchers
#any_instance — RSpec::Mocks::AnyInstance
#any_number_of_times — RSpec::Mocks::MessageExpectation
#anything — RSpec::Mocks::ArgumentMatchers
#anythingize_lonely_keys — RSpec::Mocks::ArgumentMatchers
#arg_list — RSpec::Mocks::ErrorGenerator
#arg_message — RSpec::Mocks::ErrorGenerator
#args_match? — RSpec::Mocks::ArgumentListMatcher
#as_null_object — RSpec::Mocks::Methods
#as_null_object — RSpec::Mocks::Proxy
#assign_stubs — RSpec::Mocks::TestDouble
#at_least — RSpec::Mocks::MessageExpectation
#at_most — RSpec::Mocks::MessageExpectation
#backup_method! — RSpec::Mocks::AnyInstance::Recorder
#block_passes? — RSpec::Mocks::ArgumentListMatcher
#boolean — RSpec::Mocks::ArgumentMatchers
#build_alias_method_name — RSpec::Mocks::AnyInstance::Recorder
#build_child — RSpec::Mocks::MessageExpectation
#build_implementation — RSpec::Mocks::MessageExpectation
#call_implementation — RSpec::Mocks::MessageExpectation
#call_implementation_consecutive — RSpec::Mocks::MessageExpectation
#call_with_yield — RSpec::Mocks::MessageExpectation
#called_max_times? — RSpec::Mocks::MessageExpectation
#clear — RSpec::Mocks::MethodDouble
#clear — RSpec::Mocks::OrderGroup
#clear_actual_received_count! — RSpec::Mocks::MessageExpectation
#clone_args_to_yield — RSpec::Mocks::MessageExpectation
#configure_method — RSpec::Mocks::MethodDouble
#constrained_to_any_of? — RSpec::Mocks::AnyInstance::Chain
#consume — RSpec::Mocks::OrderGroup
#count_message — RSpec::Mocks::ErrorGenerator
#declare_double — RSpec::Mocks::ExampleMethods
#define_proxy_method — RSpec::Mocks::MethodDouble
#description — RSpec::Mocks::ArgumentMatchers::AnyArgsMatcher
#description — RSpec::Mocks::ArgumentMatchers::NoArgsMatcher
#description — RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher
#description — RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher
#double — RSpec::Mocks::ExampleMethods
#duck_type — RSpec::Mocks::ArgumentMatchers
#empty? — RSpec::Mocks::OrderGroup
#exactly — RSpec::Mocks::MessageExpectation
#expectation_fulfilled! — RSpec::Mocks::AnyInstance::Chain
#expectation_fulfilled? — RSpec::Mocks::AnyInstance::ExpectationChain
#expectation_fulfilled? — RSpec::Mocks::AnyInstance::StubChain
#expectation_ordering — RSpec::Mocks::Space
#expectations — RSpec::Mocks::MethodDouble
#expected_args — RSpec::Mocks::MessageExpectation
#expected_messages_received? — RSpec::Mocks::MessageExpectation
#extract_option — RSpec::Mocks::TestDouble
#extract_options — RSpec::Mocks::TestDouble
#failed_fast? — RSpec::Mocks::MessageExpectation
#find_almost_matching_expectation — RSpec::Mocks::Proxy
#find_almost_matching_stub — RSpec::Mocks::Proxy
#find_matching_expectation — RSpec::Mocks::Proxy
#find_matching_method_stub — RSpec::Mocks::Proxy
#format_args — RSpec::Mocks::ErrorGenerator
#format_chain — RSpec::Mocks::Methods
#generate_error — RSpec::Mocks::MessageExpectation
#handle_order_constraint — RSpec::Mocks::OrderGroup
#has_expectation? — RSpec::Mocks::AnyInstance::MessageChains
#has_negative_expectation? — RSpec::Mocks::Proxy
#hash_excluding — RSpec::Mocks::ArgumentMatchers
#hash_including — RSpec::Mocks::ArgumentMatchers
#hash_not_including — RSpec::Mocks::ArgumentMatchers
#ignoring_args? — RSpec::Mocks::MessageExpectation
#implementation= — RSpec::Mocks::MessageExpectation
#increase_actual_received_count! — RSpec::Mocks::MessageExpectation
#inspect — RSpec::Mocks::Constant
#inspect — RSpec::Mocks::TestDouble
#instance_exec — RSpec::Mocks::InstanceExec
#instance_of — RSpec::Mocks::ArgumentMatchers
#instance_that_received — RSpec::Mocks::AnyInstance::Recorder
#intro — RSpec::Mocks::ErrorGenerator
#invocation_order — RSpec::Mocks::AnyInstance::PositiveExpectationChain
#invocation_order — RSpec::Mocks::AnyInstance::StubChain
#invocation_order — RSpec::Mocks::AnyInstance::NegativeExpectationChain
#invocation_order — RSpec::Mocks::AnyInstance::StubChainChain
#invoke — RSpec::Mocks::MessageExpectation
#is_matcher? — RSpec::Mocks::ArgumentListMatcher
#kind_of — RSpec::Mocks::ArgumentMatchers
#last_message — RSpec::Mocks::AnyInstance::Chain
#mark_invoked! — RSpec::Mocks::AnyInstance::Recorder
#match_any_args? — RSpec::Mocks::ArgumentListMatcher
#matcher_for — RSpec::Mocks::ArgumentListMatcher
#matchers_match? — RSpec::Mocks::ArgumentListMatcher
#matches? — RSpec::Mocks::MessageExpectation
#matches_at_least_count? — RSpec::Mocks::MessageExpectation
#matches_at_most_count? — RSpec::Mocks::MessageExpectation
#matches_exact_count? — RSpec::Mocks::MessageExpectation
#matches_name_but_not_args — RSpec::Mocks::MessageExpectation
#message_received — RSpec::Mocks::Proxy
#messages — RSpec::Mocks::AnyInstance::Chain
#method_double — RSpec::Mocks::Proxy
#method_doubles — RSpec::Mocks::Proxy
#method_missing — RSpec::Mocks::TestDouble
#mock — RSpec::Mocks::ExampleMethods
#modify_dup_to_remove_mock_proxy_when_invoked — RSpec::Mocks::AnyInstance
#negative_expectation_for? — RSpec::Mocks::NegativeMessageExpectation
#negative_expectation_for? — RSpec::Mocks::MessageExpectation
#never — RSpec::Mocks::MessageExpectation
#no_args — RSpec::Mocks::ArgumentMatchers
#normalize_chain — RSpec::Mocks::AnyInstance::Recorder
#null_object? — RSpec::Mocks::Proxy
#null_object? — RSpec::Mocks::Methods
#obfuscate — RSpec::Mocks::MethodDouble
#object_responds_to? — RSpec::Mocks::MethodDouble
#object_singleton_class — RSpec::Mocks::MethodDouble
#observe! — RSpec::Mocks::AnyInstance::Recorder
#once — RSpec::Mocks::MessageExpectation
#opts — RSpec::Mocks::ErrorGenerator
#ordered — RSpec::Mocks::MessageExpectation
#playback! — RSpec::Mocks::AnyInstance::Chain
#playback! — RSpec::Mocks::AnyInstance::Recorder
#playback! — RSpec::Mocks::AnyInstance::MessageChains
#pretty_print — RSpec::Mocks::ErrorGenerator
#previously_defined? — RSpec::Mocks::ConstantStubber::DefinedConstantReplacer
#previously_defined? — RSpec::Mocks::ConstantStubber::UndefinedConstantSetter
#previously_defined? — RSpec::Mocks::Constant
#proxy_for_nil_class? — RSpec::Mocks::MethodDouble
#public_protected_or_private_method_defined? — RSpec::Mocks::AnyInstance::Recorder
#raise_block_failed_error — RSpec::Mocks::ErrorGenerator
#raise_exception — RSpec::Mocks::MessageExpectation
#raise_expectation_error — RSpec::Mocks::ErrorGenerator
#raise_if_second_instance_to_receive_message — RSpec::Mocks::AnyInstance::MessageChains
#raise_method_not_stubbed_error — RSpec::Mocks::MethodDouble
#raise_missing_block_error — RSpec::Mocks::ErrorGenerator
#raise_missing_default_stub_error — RSpec::Mocks::ErrorGenerator
#raise_missing_default_stub_error — RSpec::Mocks::Proxy
#raise_out_of_order_error — RSpec::Mocks::ErrorGenerator
#raise_out_of_order_error — RSpec::Mocks::MessageExpectation
#raise_similar_message_args_error — RSpec::Mocks::ErrorGenerator
#raise_unexpected_message_args_error — RSpec::Mocks::Proxy
#raise_unexpected_message_args_error — RSpec::Mocks::ErrorGenerator
#raise_unexpected_message_error — RSpec::Mocks::ErrorGenerator
#raise_unexpected_message_error — RSpec::Mocks::Proxy
#raise_wrong_arity_error — RSpec::Mocks::ErrorGenerator
#ready_for? — RSpec::Mocks::OrderGroup
#received_expected_message! — RSpec::Mocks::AnyInstance::MessageChains
#received_expected_message! — RSpec::Mocks::AnyInstance::Recorder
#received_message? — RSpec::Mocks::Proxy
#received_message? — RSpec::Mocks::Methods
#receivers — RSpec::Mocks::Space
#record — RSpec::Mocks::AnyInstance::Chain
#record_message_received — RSpec::Mocks::Proxy
#recursive_const_defined? — RSpec::Mocks::RecursiveConstMethods
#recursive_const_get — RSpec::Mocks::RecursiveConstMethods
#register — RSpec::Mocks::OrderGroup
#remove_dummy_method! — RSpec::Mocks::AnyInstance::Recorder
#remove_stub — RSpec::Mocks::Proxy
#remove_stub — RSpec::Mocks::MethodDouble
#remove_stub_chains_for! — RSpec::Mocks::AnyInstance::MessageChains
#reset — RSpec::Mocks::Proxy
#reset — RSpec::Mocks::MethodDouble
#reset_all — RSpec::Mocks::Space
#reset_nil_expectations_warning — RSpec::Mocks::MethodDouble
#respond_to? — RSpec::Mocks::TestDouble
#restore_dup — RSpec::Mocks::AnyInstance
#restore_method! — RSpec::Mocks::AnyInstance::Recorder
#restore_original_method — RSpec::Mocks::MethodDouble
#restore_original_method! — RSpec::Mocks::AnyInstance::Recorder
#rspec_reset — RSpec::Mocks::Methods
#rspec_reset — RSpec::Mocks::AnyInstance
#rspec_reset — RSpec::Mocks::ConstantStubber::DefinedConstantReplacer
#rspec_reset — RSpec::Mocks::ConstantStubber::UndefinedConstantSetter
#rspec_verify — RSpec::Mocks::Methods
#rspec_verify — RSpec::Mocks::AnyInstance
#set_expected_received_count — RSpec::Mocks::MessageExpectation
#should_not_receive — RSpec::Mocks::AnyInstance::Recorder
#should_not_receive — RSpec::Mocks::Methods
#should_receive — RSpec::Mocks::AnyInstance::Recorder
#should_receive — RSpec::Mocks::Methods
#similar_messages — RSpec::Mocks::MessageExpectation
#stash_original_method — RSpec::Mocks::MethodDouble
#stashed_method_name — RSpec::Mocks::MethodDouble
#stop_all_observation! — RSpec::Mocks::AnyInstance::Recorder
#stop_observing! — RSpec::Mocks::AnyInstance::Recorder
#stub — RSpec::Mocks::AnyInstance::Recorder
#stub — RSpec::Mocks::ConstantStubber::UndefinedConstantSetter
#stub — RSpec::Mocks::ConstantStubber::DefinedConstantReplacer
#stub — RSpec::Mocks::ExampleMethods
#stub — RSpec::Mocks::Methods
#stub! — RSpec::Mocks::AnyInstance::Recorder
#stub! — RSpec::Mocks::Methods
#stub_chain — RSpec::Mocks::AnyInstance::Recorder
#stub_chain — RSpec::Mocks::Methods
#stub_const — RSpec::Mocks::ExampleMethods
#stubbed? — RSpec::Mocks::Constant
#stubs — RSpec::Mocks::MethodDouble
#times — RSpec::Mocks::MessageExpectation
#to_constant — RSpec::Mocks::ConstantStubber::BaseStubber
#to_s — RSpec::Mocks::Constant
#to_s — RSpec::Mocks::TestDouble
#to_str — RSpec::Mocks::TestDouble
#to_yaml — RSpec::Mocks::Serialization::YAML
#transfer_nested_constants — RSpec::Mocks::ConstantStubber::DefinedConstantReplacer
#twice — RSpec::Mocks::MessageExpectation
#unfulfilled_expectations — RSpec::Mocks::AnyInstance::MessageChains
#unstub — RSpec::Mocks::AnyInstance::Recorder
#unstub — RSpec::Mocks::Methods
#unstub! — RSpec::Mocks::Methods
#verify — RSpec::Mocks::AnyInstance::Recorder
#verify — RSpec::Mocks::MethodDouble
#verify — RSpec::Mocks::Proxy
#verify_all — RSpec::Mocks::Space
#verify_constants_to_transfer! — RSpec::Mocks::ConstantStubber::DefinedConstantReplacer
#verify_invocation_order — RSpec::Mocks::AnyInstance::StubChain
#verify_invocation_order — RSpec::Mocks::AnyInstance::ExpectationChain
#verify_messages_received — RSpec::Mocks::MessageExpectation
#visibility — RSpec::Mocks::MethodDouble
#warn_if_nil_class — RSpec::Mocks::MethodDouble
#with — RSpec::Mocks::MessageExpectation