Sha256: 3520c4c8771257d5b1bd864ada31a8f9c643beeb4fea4b29dd78f98d84676c4c
Contents?: true
Size: 604 Bytes
Versions: 5
Compression:
Stored size: 604 Bytes
Contents
require 'aruba/cucumber' 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 # 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 @original_home = ENV['HOME'] ENV['HOME'] = "/tmp/pp" FileUtils.rm_rf "/tmp/pp" FileUtils.mkdir "/tmp/pp" end After do ENV['RUBYLIB'] = @original_rubylib ENV['HOME'] = @original_home end
Version data entries
5 entries across 5 versions & 1 rubygems