Sha256: 9df0846ef0b71a26945645342ffaf4b83d1f2cac8d00fad1d9edf4058d766551

Contents?: true

Size: 612 Bytes

Versions: 61

Compression:

Stored size: 612 Bytes

Contents

require 'aruba/cucumber'
require 'rspec/core'
require 'rspec/its'

Before do
  if RUBY_PLATFORM =~ /java/ || defined?(Rubinius)
    @aruba_timeout_seconds = 60
  else
    @aruba_timeout_seconds = 10
  end
end

Aruba.configure do |config|
  config.before_cmd do |cmd|
    set_env('JRUBY_OPTS', "-X-C #{ENV['JRUBY_OPTS']}") # disable JIT since these processes are so short lived
  end
end if RUBY_PLATFORM == 'java'

Aruba.configure do |config|
  config.before_cmd do |cmd|
    set_env('RBXOPT', "-Xint=true #{ENV['RBXOPT']}") # disable JIT since these processes are so short lived
  end
end if defined?(Rubinius)

Version data entries

61 entries across 52 versions & 9 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/rspec-its-1.3.0/features/support/env.rb
honeybadger-5.4.0 vendor/bundle/ruby/3.2.0/gems/rspec-its-1.3.0/features/support/env.rb
honeybadger-5.3.0 vendor/bundle/ruby/3.2.0/gems/rspec-its-1.3.0/features/support/env.rb
vagrant-unbundled-2.2.19.0 vendor/bundle/ruby/3.0.0/gems/rspec-its-1.3.0/features/support/env.rb
vagrant-unbundled-2.2.18.0 vendor/bundle/ruby/3.0.0/gems/rspec-its-1.3.0/features/support/env.rb
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/2.7.0/gems/rspec-its-1.3.0/features/support/env.rb
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/3.0.0/gems/rspec-its-1.3.0/features/support/env.rb
vagrant-unbundled-2.2.14.0 vendor/bundle/ruby/2.7.0/gems/rspec-its-1.3.0/features/support/env.rb
vagrant-unbundled-2.2.10.0 vendor/bundle/ruby/2.7.0/gems/rspec-its-1.3.0/features/support/env.rb
metanorma-cli-1.3.4 gems/ruby/2.6.0/gems/rspec-its-1.3.0/features/support/env.rb
metanorma-cli-1.3.3.1 gems/ruby/2.6.0/gems/rspec-its-1.3.0/features/support/env.rb
vagrant-unbundled-2.2.9.0 vendor/bundle/ruby/2.7.0/gems/rspec-its-1.3.0/features/support/env.rb
vagrant-unbundled-2.2.8.0 vendor/bundle/ruby/2.7.0/gems/rspec-its-1.3.0/features/support/env.rb
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.7.0/gems/rspec-its-1.3.0/features/support/env.rb
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.6.0/gems/rspec-its-1.2.0/features/support/env.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/rspec-its-1.3.0/features/support/env.rb
vagrant-unbundled-2.2.6.2 vendor/bundle/ruby/2.6.0/gems/rspec-its-1.2.0/features/support/env.rb
vagrant-unbundled-2.2.6.1 vendor/bundle/ruby/2.6.0/gems/rspec-its-1.2.0/features/support/env.rb
vagrant-unbundled-2.2.6.0 vendor/bundle/ruby/2.6.0/gems/rspec-its-1.2.0/features/support/env.rb
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.6.0/gems/rspec-its-1.2.0/features/support/env.rb