Skip to content

Commit a07ba4c

Browse files
pirjbquorning
andauthored
Update docs/modules/ROOT/pages/upgrade_to_version_2.adoc
Co-authored-by: Benjamin Quorning <[email protected]>
1 parent f1b7f85 commit a07ba4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/modules/ROOT/pages/upgrade_to_version_2.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ https://github.com/rubocop-hq/rubocop-rspec/pull/962[Example pull request].
109109
`TopLevelDescribe` was incomplete, had poor performance and did not distinguish between example groups and shared example groups.
110110

111111
`TopLevelGroup` provides a similar interface, but instead of a single `on_top_level_describe` hook there are two, `on_top_level_example_group` and `on_top_level_group`.
112-
There's no need yet for `on_top_level_shared_group` for RuboCop core cops, but if your custom cop needs such a hook, please feel free to send a pull request.
112+
Theres no need yet for `on_top_level_shared_group` for RuboCop core cops, but if your custom cop needs such a hook, please feel free to send a pull request.
113113

114114
Additionally, `single_top_level_describe?` is removed with no direct replacement.
115115
You may use `top_level_groups` query method instead, e.g. `top_level_groups.one?`.

0 commit comments

Comments
 (0)