method
should_not

1.3.0 -
Show latest stable
-
0 notes -
Class: Kernel
- 1.1.4
- 1.1.12
- 1.2.0
- 1.2.8 (0)
- 1.3.0 (0)
- 1.3.1 (0)
- What's this?
should_not(matcher=nil, message=nil, &block)
public
receiver.should_not(matcher) => Passes unless matcher.matches?(receiver) receiver.should_not == expected => Passes unless (receiver == expected) receiver.should_not === expected => Passes unless (receiver === expected) receiver.should_not =~ regexp => Passes unless (receiver =~ regexp)
See Spec::Matchers for more information about matchers