Sha256: 1ea352c4490a6e561f400322fd43da692cb3b95fcc2cf1fa63ba3d562551aadb
Contents?: true
Size: 794 Bytes
Versions: 1
Compression:
Stored size: 794 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') TMP_DIR = File.join(File.expand_path(File.dirname(__FILE__)),'..','..','tmp') 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 @original_home = ENV['HOME'] ENV['HOME'] = "/tmp/expandsync" FileUtils.rm_rf "/tmp/expandsync" FileUtils.mkdir "/tmp/expandsync" FileUtils.mkdir_p "/tmp/expandsync/Dropbox/TextExpander" end After do ENV['RUBYLIB'] = @original_rubylib ENV['HOME'] = @original_home end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
expandsync-0.1.0 | features/support/env.rb |