Sha256: 0634a81fad93091b1292033ffc457d7f31a4763dc968ff6f3274d27fe038d42d
Contents?: true
Size: 657 Bytes
Versions: 4
Compression:
Stored size: 657 Bytes
Contents
require 'simplecov' require 'aruba/cucumber' require 'cucumber/rspec/doubles' 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
pinpress-1.2.2 | features/support/env.rb |
pinpress-1.2.1 | features/support/env.rb |
pinpress-1.2.0 | features/support/env.rb |
pinpress-1.1.2 | features/support/env.rb |