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.99.0 features/lib/support/env.rb
mobiusloop-0.1.5 features/lib/support/env.rb
cucumber-2.4.0 features/lib/support/env.rb
mobiusloop-0.1.3 features/lib/support/env.rb
mobiusloop-0.1.2 features/lib/support/env.rb
cucumber-2.3.3 features/lib/support/env.rb
cucumber-2.3.2 features/lib/support/env.rb
cucumber-2.3.1 features/lib/support/env.rb
cucumber-2.3.0 features/lib/support/env.rb
cucumber-2.2.0 features/lib/support/env.rb
cucumber-2.1.0 features/lib/support/env.rb
cucumber-2.0.2 features/lib/support/env.rb
cucumber-2.0.1 features/lib/support/env.rb
cucumber-2.0.0 features/lib/support/env.rb
cucumber-2.0.0.rc.5 features/lib/support/env.rb
cucumber-2.0.0.rc.4 features/lib/support/env.rb
cucumber-2.0.0.rc.3 features/lib/support/env.rb
cucumber-2.0.0.rc.2 features/lib/support/env.rb
cucumber-2.0.0.rc.1 features/lib/support/env.rb
cucumber-2.0.0.beta.5 features/lib/support/env.rb