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

Version Path
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/gli/features/support/env.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/gli/features/support/env.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/gli/features/support/env.rb
brightbox-cli-0.17.4 lib/brightbox-cli/vendor/gli/features/support/env.rb
brightbox-cli-0.17.3 lib/brightbox-cli/vendor/gli/features/support/env.rb
brightbox-cli-0.17.2 lib/brightbox-cli/vendor/gli/features/support/env.rb
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/gli/features/support/env.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/gli/features/support/env.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/gli/features/support/env.rb
brightbox-cli-0.15.0 lib/brightbox-cli/vendor/gli/features/support/env.rb
brightbox-cli-0.14.1 lib/brightbox-cli/vendor/gli/features/support/env.rb
brightbox-cli-0.14.0 lib/brightbox-cli/vendor/gli/features/support/env.rb
brightbox-cli-0.13.1 lib/brightbox-cli/vendor/gli/features/support/env.rb
bbcloud-0.13.0 lib/bbcloud/vendor/gli/features/support/env.rb
brightbox-cli-0.13.0 lib/brightbox-cli/vendor/gli/features/support/env.rb
bbcloud-0.12.0 lib/bbcloud/vendor/gli/features/support/env.rb