Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit de156c1

Browse files
committed
Add note explaining that nested groups are subclasses.
1 parent 38b1601 commit de156c1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ RSpec.describe Order do
7272
end
7373
```
7474

75+
Nested groups are subclasses of the outer example group class, providing
76+
the inheritance semantics you'd want for free.
77+
7578
## Aliases
7679

7780
You can declare example groups using either `describe` or `context`.

0 commit comments

Comments
 (0)