APIdock / RSpec
/
Browse About
method

have_exactly

1.1.12 - Show latest stable - Class: Spec::Matchers
have_exactly(n)
public

Alias for #have

Related methods

  • Instance methods
  • be
  • be_a
  • be_an
  • be_close
  • change
  • eql
  • equal
  • exception_from
  • exist
  • fail
  • fail_with
  • has
  • have
  • have_at_least
  • have_at_most
  • have_exactly
  • include
  • map_specs
  • match
  • method_missing
  • raise_error
  • respond_to
  • run_with
  • satisfy
  • simple_matcher
  • smart_match
  • throw_symbol
  • with_ruby
  • wrap_expectation
  • Class methods
  • clear_generated_description
  • generated_description
  • last_matcher
  • last_matcher=
  • last_should
  • last_should=
  • Private methods
  • privatelast_description
  • privatepredicate
APIdock API Documentation Browser

Implement the SPACE framework the right way with Swarmia.

© 2026 APIdock