Sha256: 93b5c6b6743151d67db9d3dc671ee018c5af1226057a2cc1575ccb3bc139fea0
Contents?: true
Size: 479 Bytes
Versions: 24
Compression:
Stored size: 479 Bytes
Contents
RSpec.configure do |config| config.include Aruba::Api config.before(:each, aruba: true) do @aruba_timeout_seconds = 180 FileUtils.rm_rf(current_dir) @__aruba_original_paths = (ENV['PATH'] || '').split(File::PATH_SEPARATOR) ENV['PATH'] = ([File.expand_path('bin')] + @__aruba_original_paths).join(File::PATH_SEPARATOR) end config.after(:each, aruba: true) do ENV['PATH'] = @__aruba_original_paths.join(File::PATH_SEPARATOR) restore_env end end
Version data entries
24 entries across 24 versions & 4 rubygems