Sha256: a0167d42a07cba5ecdaa063da4d92dd39ad60e998dc8dfec4c533169e0f2b245
Contents?: true
Size: 598 Bytes
Versions: 1
Compression:
Stored size: 598 Bytes
Contents
require 'aruba/cucumber' require_relative '../../lib/pinpress/constants' 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 @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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pinpress-1.2.3 | features/support/env.rb |