Sha256: c47bc17754d70e3d047dbca97dbf7d479970df1b18a83effa814cd28e7dabcab

Contents?: true

Size: 636 Bytes

Versions: 4

Compression:

Stored size: 636 Bytes

Contents

require 'aruba/cucumber'
require 'methadone/cucumber'
require 'fileutils'

ENV['PATH'] = "#{File.expand_path(File.dirname(__FILE__) + '/../../bin')}#{File::PATH_SEPARATOR}#{ENV['PATH']}"
LIB_DIR = File.join(File.expand_path(File.dirname(__FILE__)),'..','..','lib')
Before do
  @aruba_keep_ansi = true
  # 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
  %w(test_file test_file2).each do |filename|
    FileUtils.rm filename if File.exist? filename
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hl-1.2.0 features/support/env.rb
hl-1.1.0 features/support/env.rb
hl-1.0.0 features/support/env.rb
hl-0.0.1 features/support/env.rb