-
-
Notifications
You must be signed in to change notification settings - Fork 764
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Introspection from RSpec.current_scope
My reasoning is thus: rspec-rails need to do the following condition: `if RSpec.current_scope == :before_all_hook` test_prof needs to do the following condition: `if RSpec.current_scope == :before_all_hook` amd my little helper needs the following `unless [:before_each_hook, :example].include?(RSpec.current_scope)`
- Loading branch information
Showing
2 changed files
with
2 additions
and
47 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