Sha256: a7c29f7a6490937b2ff919743e934986cd8dcb967132bd18702dd231c7a558de
Contents?: true
Size: 542 Bytes
Versions: 1
Compression:
Stored size: 542 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'] @files_created = [] ENV['RUBYLIB'] = LIB_DIR + File::PATH_SEPARATOR + ENV['RUBYLIB'].to_s end After do ENV['RUBYLIB'] = @original_rubylib @files_created.each do |file| FileUtils.rm file end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bookingit-0.0.1 | features/support/env.rb |