Sha256: 7f1fa3223c12dcee38bdb1a555b4fc7a5e70bfeb2b7ef3cb1293b334ecad08bb

Contents?: true

Size: 629 Bytes

Versions: 8

Compression:

Stored size: 629 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../lib')
require 'aruba/cucumber'
require 'fileutils'
require 'rspec/expectations'

ENV['PATH'] = "#{File.expand_path(File.dirname(__FILE__) + '/../../bin')}#{File::PATH_SEPARATOR}#{ENV['PATH']}"

Before do
  if RUBY_PLATFORM =~ /java/
    # ideas taken from: http://blog.headius.com/2010/03/jruby-startup-time-tips.html
    set_env('JRUBY_OPTS', '-X-C') # disable JIT since these processes are so short lived
    set_env('JAVA_OPTS', '-d32') # force jRuby to use client JVM for faster startup times
    @aruba_timeout_seconds = 60
  else
    @aruba_timeout_seconds = 5
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pwqgen.rb-0.1.0 features/support/env.rb
pwqgen.rb-0.0.6 features/support/env.rb
pwqgen.rb-0.0.5 features/support/env.rb
pwqgen.rb-0.0.4 features/support/env.rb
pwqgen.rb-0.0.3 features/support/env.rb
pwqgen.rb-0.0.3.pre.2 features/support/env.rb
pwqgen.rb-0.0.3.pre.1 features/support/env.rb
pwqgen.rb-0.0.3.pre features/support/env.rb