Sha256: dabd2205f5b27de3eb1779f9068bd68a5c1e43dbb5d5e798c878ea85e42119d9
Contents?: true
Size: 536 Bytes
Versions: 16
Compression:
Stored size: 536 Bytes
Contents
require 'aruba/cucumber' require 'fileutils' ENV['PATH'] = "#{File.expand_path(File.dirname(__FILE__) + '/../../bin')}#{File::PATH_SEPARATOR}#{ENV['PATH']}" GLI_LIB_PATH = File.expand_path(File.join(File.dirname(__FILE__),'..','..','lib')) GLI_GEMSET = 'gli-testing' TMP_PATH = 'tmp/aruba' Before do # Not sure how else to get this dynamically @dirs = [TMP_PATH] end After do |scenario| ENV['RUBYLIB'] = '' todo_app_dir = File.join(TMP_PATH,'todo') if File.exists? todo_app_dir FileUtils.rm_rf(todo_app_dir) end end
Version data entries
16 entries across 16 versions & 2 rubygems