lib/ae/subjunctive/should.rb in ae-1.2.3 vs lib/ae/subjunctive/should.rb in ae-1.3.0
- old
+ new
@@ -27,10 +27,10 @@
# Read this as "must not".
#
# 4.should! == 4 #=> Assertion Error
#
def should!(*args, &block)
- Assertor.new(self, :backtrace=>caller).not(*args, &block)
+ Assertor.new(self, :backtrace=>caller).not.be(*args, &block)
end
# Not quite the literally the counter-term to *should* (rather *shall*), but
# it is close enough for our purposes and conveys the appropriate semantics.
#alias_method :shant, :should!