Sha256: aa219e951d34b1c2141992d1163c9e6c0e9791a5f2771f28b23903adb8643159

Contents?: true

Size: 521 Bytes

Versions: 5

Compression:

Stored size: 521 Bytes

Contents

require 'aruba/cucumber'

Aruba.configure do |config|
  if RUBY_PLATFORM =~ /java/ || defined?(Rubinius)
    config.exit_timeout = 60
  else
    config.exit_timeout = 10
  end
end

Before do
  if RUBY_PLATFORM == 'java'
    # disable JIT since these processes are so short lived
    set_environment_variable('JRUBY_OPTS', "-X-C #{ENV['JRUBY_OPTS']}")
  end

  if defined?(Rubinius)
    # disable JIT since these processes are so short lived
    set_environment_variable('RBXOPT', "-Xint=true #{ENV['RBXOPT']}")
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
opal-rspec-1.1.0.alpha3 rspec-expectations/upstream/features/support/env.rb
opal-rspec-1.1.0.alpha2 rspec-expectations/upstream/features/support/env.rb
opal-rspec-1.1.0.alpha1 rspec-expectations/upstream/features/support/env.rb
opal-rspec-1.0.0 rspec-expectations/upstream/features/support/env.rb
opal-rspec-1.0.0.alpha1 rspec-expectations/upstream/features/support/env.rb