Sha256: 245bc6b9a97b24dd07359bbf7a418c3a028b3d5e6daf74a9668447352bd648fa

Contents?: true

Size: 521 Bytes

Versions: 24

Compression:

Stored size: 521 Bytes

Contents

require 'aruba/cucumber'
require 'aruba/in_process'
require 'aruba/spawn_process'
require 'cucumber/cli/main'

Before('@spawn') do
  Aruba.process = Aruba::SpawnProcess
end

Before('~@spawn') do
  Aruba::InProcess.main_class = Cucumber::Cli::Main
  Aruba.process = Aruba::InProcess
end

Before do
  # Make sure bin/cucumber runs with SimpleCov enabled
  # set_env('SIMPLECOV', 'true')

  # Set a longer timeout for aruba, and a really long one if running on JRuby
  @aruba_timeout_seconds = Cucumber::JRUBY ? 35 : 15
end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
cucumber-2.0.0.beta.4 features/lib/support/env.rb
cucumber-2.0.0.beta.3 features/lib/support/env.rb
cucumber-2.0.0.beta.2 features/lib/support/env.rb
cucumber-2.0.0.beta.1 features/lib/support/env.rb