Method: RSpec::Core::ExampleGroup.currently_executing_a_context_hook?
- Defined in:
- lib/rspec/core/example_group.rb
.currently_executing_a_context_hook? ⇒ Boolean
Returns true if a before(:context)
or after(:context)
hook is currently executing.
542 543 544 |
# File 'lib/rspec/core/example_group.rb', line 542 def self.currently_executing_a_context_hook? @currently_executing_a_context_hook end |