lib/assay/rescue_assay.rb in assay-0.4.0 vs lib/assay/rescue_assay.rb in assay-0.4.1
- old
+ new
@@ -3,10 +3,10 @@
# Assert that a kind of exception class is rescued
# from the execution of a block.
#
class RescueAssay < Assertion
- register :rescue
+ register :rescued
#
# Check assertion.
#
def self.pass?(*exceptions)