lib/spectus/expectation_target.rb in spectus-2.0.0 vs lib/spectus/expectation_target.rb in spectus-2.0.1
- old
+ new
@@ -68,10 +68,10 @@
# before implementing any behavior described with this label.
#
# @api public
#
# @example _Not recommended_ definition
- # this { ''.blank? }.SHOULD_NOT raise_exception: NoMethodError # => false
+ # this { ''.blank? }.SHOULD_NOT raise_exception: NoMethodError # => true
#
# @param [Hash] definition
#
# @return [Boolean] report if the expectation is true or false.
def SHOULD_NOT(definition)