Sha256: 18b4a85ef34eab80d14e5c84bbafc22845495d80b20d27fe5459fbeb99d60d03
Contents?: true
Size: 710 Bytes
Versions: 1
Compression:
Stored size: 710 Bytes
Contents
require 'aruba/cucumber' require 'methadone/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'] ENV['RUBYLIB'] = LIB_DIR + File::PATH_SEPARATOR + ENV['RUBYLIB'].to_s end After do ENV['RUBYLIB'] = @original_rubylib end Before('@simulate-capture') do @original_fakecapture = ENV['LOLCOMMITS_FAKECAPTURE'] ENV['LOLCOMMITS_FAKECAPTURE'] = "1" end After('@simulate-capture') do ENV['LOLCOMMITS_FAKECAPTURE'] = @original_fakecapture end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lolcommits-0.2.0 | features/support/env.rb |