From: Brian Takita Date: 2005-12-17T04:26:00+09:00 Subject: RSpec - should_raise method? ------=_Part_12554_13728394.1134761150178 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 -- Brian Takita http://freeopinion.org ------=_Part_12554_13728394.1134761150178--