-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minitest specs don't include the class name in the test selector, so we need to strip out the class name (including the module nesting) when we generate the selector. This commit changes `@group_stack` to be a tuple of `[type, value]` so we can distinguish between class/module names and test group/example names. For specs, it removes the class/module names from the stack.
- Loading branch information
1 parent
02fdf49
commit 9d02cb3
Showing
2 changed files
with
18 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters