APIdock
/
RSpec
/
Browse
About
method
raise_error
rspec latest stable
- Class:
Spec
::
Matchers
raise_error
(exception=Exception, message=nil, &block)
public
Alias for
#raise_exception
Related methods
Instance methods
be
be_a
be_a_kind_of
be_an
be_an_instance_of
be_close
be_instance_of
be_kind_of
change
eql
equal
exist
have
have_at_least
have_at_most
have_exactly
helper
include
inspect_object
match
method_missing
raise_error
raise_exception
respond_to
satisfy
simple_matcher
throw_symbol
wrap_expectation
Class methods
clear_generated_description
generated_description
Private methods
last_description