Sha256: e8005e868d4d69742f04e9dd0c9be342ea8855301329812abf1445ab2d61643a

Contents?: true

Size: 566 Bytes

Versions: 2

Compression:

Stored size: 566 Bytes

Contents

# Copyright (c) 2020 Jean-Sebastien Gelinas, see LICENSE.txt
# frozen_string_literal: true

require 'aruba/cucumber'

BIN_DIR = ::File.join(__dir__, '..', '..', 'bin')
LIB_DIR = ::File.join(__dir__, '..', '..', 'lib')
::ENV['PATH'] = "#{::File.expand_path(::BIN_DIR)}#{::File::PATH_SEPARATOR}#{::ENV['PATH']}"

Before do
  # Using "announce" causes massive warnings on 1.9.2
  @puts = true
  @original_rubylib = ::ENV['RUBYLIB']
  ::ENV['RUBYLIB'] = ::LIB_DIR + ::File::PATH_SEPARATOR + ::ENV['RUBYLIB'].to_s
end

After do
  ::ENV['RUBYLIB'] = @original_rubylib
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tileset_tooling-0.1.0 features/support/env.rb
tileset_tooling-0.0.2 features/support/env.rb