File: env.rb

package info (click to toggle)
ruby-bogus 0.1.5-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 828 kB
  • ctags: 628
  • sloc: ruby: 4,124; makefile: 6; sh: 2
file content (24 lines) | stat: -rw-r--r-- 457 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require 'aruba/cucumber'
require 'aruba/jruby'

Before('@known_bug') do
  pending("This scenario fails because of a known bug")
end

Before do |scenario|
  dir_name = "scenario-#{rand(1_000_000)}"
  create_dir(dir_name)
  cd(dir_name)
end

Before do
  @aruba_timeout_seconds = 60
end

if RUBY_PLATFORM == 'java' && ENV['TRAVIS']
  Aruba.configure do |config|
    config.before_cmd do
      set_env('JAVA_OPTS', "#{ENV['JAVA_OPTS']} -d64")
    end
  end
end