Module: RubyReactor::RSpec

Defined in:
lib/ruby_reactor/rspec.rb,
lib/ruby_reactor/rspec/helpers.rb,
lib/ruby_reactor/rspec/matchers.rb,
lib/ruby_reactor/rspec/test_subject.rb,
lib/ruby_reactor/rspec/step_executor_patch.rb

Defined Under Namespace

Modules: Helpers, Matchers, StepExecutorPatch Classes: TestSubject

Class Method Summary collapse

Class Method Details

.configure(config) ⇒ Object



9
10
11
12
13
14
15
16
# File 'lib/ruby_reactor/rspec.rb', line 9

def self.configure(config)
  require_relative "rspec/step_executor_patch"

  config.include RubyReactor::RSpec::Helpers
  config.include RubyReactor::RSpec::Matchers

  ::RubyReactor::Executor::StepExecutor.prepend(RubyReactor::RSpec::StepExecutorPatch)
end