Class: RSpec::Core::MemoizedHelpers::ContextHookMemoized::Before

Inherits:
RSpec::Core::MemoizedHelpers::ContextHookMemoized show all
Defined in:
lib/rspec/core/memoized_helpers.rb

Class Method Summary collapse

Methods inherited from RSpec::Core::MemoizedHelpers::ContextHookMemoized

fetch_or_store, isolate_for_context_hook

Class Method Details

.articleObject



224
225
226
# File 'lib/rspec/core/memoized_helpers.rb', line 224

def self.article
  "a"
end

.hook_expressionObject



220
221
222
# File 'lib/rspec/core/memoized_helpers.rb', line 220

def self.hook_expression
  "`before(:context)`"
end

.hook_intentionObject



228
229
230
# File 'lib/rspec/core/memoized_helpers.rb', line 228

def self.hook_intention
  "define state that is shared across examples in an example group"
end