Skip to content

Disallow access to sibling shared example groups

Created by: JonRowe

This is a follow up to #818. In that PR, @JonRowe improved shared example groups so that they are scoped to the group they are defined in, but for backwards compatibility still allowed any example group to be used from anywhere else, but with a warning if it was not a parent example group.

In RSpec 3, we should disallow access to sibling shared example groups.

Merge request reports