Sha256: ee4fffb55425d08ba713bfbf2751aff1b95266bb6884f50231f21df7170fa7ed
Contents?: true
Size: 620 Bytes
Versions: 13
Compression:
Stored size: 620 Bytes
Contents
require 'aruba/cucumber' # require 'simplecov' 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
13 entries across 13 versions & 1 rubygems