Sha256: c1dd3b14d0df0ccbef51d528413d728077d1744542b72fe33bbe6f6269aa2803
Contents?: true
Size: 553 Bytes
Versions: 2
Compression:
Stored size: 553 Bytes
Contents
require 'aruba/cucumber' require 'methadone/cucumber' require 'fileutils' 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 FileUtils.rm_rf(Dir.glob('tmp/aruba/*')) end After do ENV['RUBYLIB'] = @original_rubylib end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kmkr-0.0.2 | features/support/env.rb |
kmkr-0.0.1 | features/support/env.rb |