Refresh

This website www.rubydoc.info/gems/rspec-expectations/RSpec/Expectations/ExpectationNotMetError is currently offline. Cloudflare\'s Always Online™ shows a snapshot of this web page from the Internet Archive\'s Wayback Machine. To check for the live version, click Refresh.

Exception: RSpec::Expectations::ExpectationNotMetError

Inherits:
Exception
  • Object
show all
Defined in:
lib/rspec/expectations.rb

Overview

Note:

We subclass Exception so that in a stub implementation if

Exception raised when an expectation fails.

the user sets an expectation, it can't be caught in their code by a bare rescue.

Direct Known Subclasses

MultipleExpectationsNotMetError