Sha256: b318ea7df2da8c45c73a05a1b188c06338e23dd86244f679ae5e25c45bb7ec33

Contents?: true

Size: 377 Bytes

Versions: 11

Compression:

Stored size: 377 Bytes

Contents

$logger = Logger.new(ENV['cucumber_pro_log_path'] || STDOUT)
$logger.debug '--- starting tests ---'

# For some reason JRuby / ChildProcess won't let us delete an environment variable, 
# but it will let us overwrite it, so we make do with that.
Before do
  if RUBY_PLATFORM =~ /java/
    set_env 'CUCUMBER_PRO_TOKEN', ''
  else
    ENV.delete('CUCUMBER_PRO_TOKEN')
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
cucumber-pro-0.0.17 features/support/env.rb
cucumber-pro-0.0.16 features/support/env.rb
cucumber-pro-0.0.15 features/support/env.rb
cucumber-pro-0.0.14 features/support/env.rb
cucumber-pro-0.0.13 features/support/env.rb
cucumber-pro-0.0.12 features/support/env.rb
cucumber-pro-0.0.11 features/support/env.rb
cucumber-pro-0.0.10 features/support/env.rb
cucumber-pro-0.0.9 features/support/env.rb
cucumber-pro-0.0.8 features/support/env.rb
cucumber-pro-0.0.7 features/support/env.rb