Sha256: 775557b7a46fddaef473f67cdc27fa78daa928e48066ab07499c3ed52ebc0504

Contents?: true

Size: 516 Bytes

Versions: 1

Compression:

Stored size: 516 Bytes

Contents

require 'simplecov'
require 'aruba/cucumber'

SimpleCov.command_name "features"

Before do
  @aruba_timeout_seconds = 5
  @kb_root_dirs = []
end

After do |s|
  # Tell Cucumber to quit after this scenario is done - if it failed.
  # This is useful to inspect the 'tmp/aruba' directory before any other
  # steps are executed and clear it out.
  Cucumber.wants_to_quit = true if s.failed?

  ENV['KB_ROOT'] = ENV.delete('_CUKE_KB_ROOT') if ENV['_CUKE_KB_ROOT']
  @kb_root_dirs.each { |dir| FileUtils.rm_rf(dir) }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kb-1.0.0.alpha.0 features/support/env.rb