RSpec - should_raise method?


#1

Hello,

Does RSpec provide a way to check if an exception gets raised?
I would expect a method named should_raise, but I cant find it.

Something like the following should work in the specs, but a method
should
be added.

should do
begin
call_method
false
rescue
true
end
end