method
should_not

1.2.8 -
Show latest stable
-
0 notes -
Class: Spec::Example::Subject::ExampleMethods
- 1.1.4
- 1.1.12
- 1.2.0 (0)
- 1.2.8 (0)
- 1.3.0 (0)
- 1.3.1 (0)
- What's this?
should_not(matcher=nil, message=nil)
public
Just like should, should_not delegates to the subject (implicit or explicit) of the example group.
Examples
describe Person do it { should_not be_eligible_to_vote } end