Sha256: 0e0085227fcdab8b7995079b2073bd5bc18b53f1b2f7ab019dc841f6d55cd093
Contents?: true
Size: 525 Bytes
Versions: 10
Compression:
Stored size: 525 Bytes
Contents
$:.unshift(File.expand_path(File.dirname(__FILE__) + "/../../lib")) require 'jenkins.rb' require 'bundler/setup' require 'ap' Before do @tmp_root = File.dirname(__FILE__) + "/../../tmp" @home_path = File.expand_path(File.join(@tmp_root, "home")) @lib_path = File.expand_path(File.dirname(__FILE__) + "/../../lib") FileUtils.rm_rf @tmp_root FileUtils.mkdir_p @home_path ENV['HOME'] = @home_path ENV['CUCUMBER_RUNNING'] = 'oooh yes' end After do ENV.delete('JENKINS_HOST') ENV.delete('JENKINS_PORT') end
Version data entries
10 entries across 10 versions & 3 rubygems