Sha256: cb8cc71bd3efcd2ee62bf30a27de5a861205c63284c0e9259c340505f53da0ce

Contents?: true

Size: 500 Bytes

Versions: 3

Compression:

Stored size: 500 Bytes

Contents

# For Aruba on 1.9.2
unless File.respond_to?(:write)
  class File
    def self.write(path, content)
      open(path, 'w') { |f| f << content }
    end
  end
end

require 'aruba/cucumber'

timeouts = { 'java' => 60 }

Before do
  @aruba_timeout_seconds = timeouts.fetch(RUBY_PLATFORM) { 10 }
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'

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
rspec-legacy_formatters-1.0.2 features/support/env.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/rspec-legacy_formatters-1.0.1/features/support/env.rb
rspec-legacy_formatters-1.0.1 features/support/env.rb