lib/ruby_ext/should.rb in ruby-ext-0.4.1 vs lib/ruby_ext/should.rb in ruby-ext-0.4.2
- old
+ new
@@ -1,5 +1,5 @@
-class AssertionError < RuntimeError; end
+class AssertionError < StandardError; end
Object.class_eval do
def should_be! method
unless self.send("#{method}?") == true
raise AssertionError, "
\ No newline at end of file