File: README - Documentation by YARD 0.8.7.6 - 0 views
-
we can express concepts like a conversation
-
- ...15 more annotations...
-
Declare a shared example group using shared_examples, and then include it in any group using include_examples.
-
Nearly anything that can be declared within an example group can be declared within a shared example group.
-
When a class is passed to describe, you can access it from an example using the described_class method
-
Example groups are defined by a describe or context block, which is eagerly evaluated when the spec file is loaded
-
Examples -- typically defined by an it block -- and any other blocks with per-example semantics -- such as a before(:example) hook -- are evaluated in the context of an instance of the example group class to which the example belongs.