Sha256: ba7348908e08b5f743693247add7e7c68341c6fa6ee8bcb02a46cf955f69dcb2

Contents?: true

Size: 549 Bytes

Versions: 11

Compression:

Stored size: 549 Bytes

Contents

require 'aruba/cucumber'

Before do
  if RUBY_PLATFORM =~ /java/
    @aruba_timeout_seconds = 30
  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

11 entries across 11 versions & 2 rubygems

Version Path
solidus_backend-1.0.0.pre3 vendor/bundle/gems/rspec-collection_matchers-1.1.2/features/support/env.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/rspec-collection_matchers-1.1.2/features/support/env.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/rspec-collection_matchers-1.1.2/features/support/env.rb
rspec-collection_matchers-1.1.2 features/support/env.rb
rspec-collection_matchers-1.1.1 features/support/env.rb
rspec-collection_matchers-1.1.0 features/support/env.rb
rspec-collection_matchers-1.0.0 features/support/env.rb
rspec-collection_matchers-0.0.4 features/support/env.rb
rspec-collection_matchers-0.0.3 features/support/env.rb
rspec-collection_matchers-0.0.2 features/support/env.rb
rspec-collection_matchers-0.0.1 features/support/env.rb