Module: MockSuey::RSpec::MockContext::ExampleGroup

Defined in:
lib/mock_suey/rspec/mock_context.rb

Instance Method Summary collapse

Instance Method Details

#include_mock_context(name) ⇒ Object



109
110
111
112
113
114
# File 'lib/mock_suey/rspec/mock_context.rb', line 109

def include_mock_context(name)
  context_id = "#{MockContext.context_namespace}#{name}"

  MockContext.collector.watch(context_id)
  include_context(context_id)
end