-
-
Notifications
You must be signed in to change notification settings - Fork 631
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use RSpec's when_first_matching_example_defined if available (#1496)
This RSpec method was added in v3.5.0 to with expensive setup logic. It results in similar behavior as just using `before(:example, ...)`, but it will only run once instead of for each example. Co-authored-by: Justin Gordon <justin@shakacode.com>
- Loading branch information
Showing
2 changed files
with
12 additions
and
1 deletion.
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