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