Sha256: b2e3b1aec182036d0fe762d1f5a79d67ad003192e56e29995f1da2d2909000e2
Contents?: true
Size: 640 Bytes
Versions: 2
Compression:
Stored size: 640 Bytes
Contents
require 'aruba/cucumber' require 'methadone/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/home" FileUtils.rm_rf "/tmp/home" FileUtils.mkdir "/tmp/home" end After do ENV['RUBYLIB'] = @original_rubylib ENV['HOME'] = @original_home end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
command-line-favs-0.1.0 | features/support/env.rb |
command-line-favs-0.0.1 | features/support/env.rb |