Module: Journeyman::Integration

Included in:
Journeyman
Defined in:
lib/journeyman/integration.rb

Overview

Internal: Integrations with testing frameworks.

Instance Method Summary collapse

Instance Method Details

#setup_integration(env, framework) ⇒ Object

Internal: Sets up the integration with the framework being used.



7
8
9
10
11
12
13
# File 'lib/journeyman/integration.rb', line 7

def setup_integration(env, framework)
  case framework
  when :rspec then setup_rspec_integration(env)
  when :cucumber then setup_cucumber_integration(env)
  else setup_default_integration(env)
  end
end