Skip to content

Commit

Permalink
Update lib/rspec/core/example_group.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Jon Rowe <[email protected]>
  • Loading branch information
pirj and JonRowe authored Aug 14, 2021
1 parent 31de541 commit 6048ff2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/rspec/core/example_group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -541,11 +541,6 @@ def self.store_before_context_ivars(example_group_instance)
# Returns true if a `before(:context)` or `after(:context)`
# hook is currently executing.
def self.currently_executing_a_context_hook?
RSpec.deprecate(
"currently_executing_a_context_hook",
:replacement => "RSpec.current_scope"
)

@currently_executing_a_context_hook
end

Expand Down

0 comments on commit 6048ff2

Please sign in to comment.