method
should
1.1.12 -
Show latest stable
-
0 notes -
Class: Spec::Example::ExampleMethods
- 1.1.4
- 1.1.12 (0)
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
should(matcher=nil)
public
When should is called with no explicit receiver, the call is delegated to the subject of the example group. This could be either an explicit subject generated by calling the block passed to +ExampleGroupMethods#subject+, or, if the group is describing a class, an implicitly generated instance of that class.