Skip to content

Commit

Permalink
fix mental model tree [fixes #903]
Browse files Browse the repository at this point in the history
  • Loading branch information
onsi committed Feb 11, 2022
1 parent 3a93115 commit 359913b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/index.md
Expand Up @@ -557,13 +557,13 @@ We could represent the spec tree that Ginkgo generates as follows:
Describe: "Books"
|_BeforeEach: <Closure-A>
|_Describe: "Extracting names"
|_When: "author has both names"
|_It: "extracts the last name", <Closure-B>
|_It: "extracts the first name", <Closure-C>
|_When: "author has one name"
|_BeforeEach: <Closure-D>
|_It: "extracts the last name", <Closure-E>
|_It: "returns empty first name", <Closure-F>
|_When: "author has both names"
|_It: "extracts the last name", <Closure-B>
|_It: "extracts the first name", <Closure-C>
|_When: "author has one name"
|_BeforeEach: <Closure-D>
|_It: "extracts the last name", <Closure-E>
|_It: "returns empty first name", <Closure-F>
```

Note that Ginkgo is saving off just the setup and subject node closures.
Expand Down

0 comments on commit 359913b

Please sign in to comment.