Sha256: 40c781332ecfeb68a498ab96f6ac55e802d3b94e3b7890f9351efb64daef1393

Contents?: true

Size: 586 Bytes

Versions: 4

Compression:

Stored size: 586 Bytes

Contents

require 'active_support'
require 'nokogiri'
require 'rspec'
require "aruba/cucumber"

PROJECT_ROOT     = File.expand_path(File.join(File.dirname(__FILE__), '..', '..')).freeze
TEMP_DIR         = File.join(PROJECT_ROOT, 'tmp').freeze
LOCAL_RAILS_ROOT = File.join(TEMP_DIR, 'rails_root').freeze
RACK_FILE        = File.join(TEMP_DIR, 'rack_app.rb').freeze

Before do
  FileUtils.rm_rf(LOCAL_RAILS_ROOT)
end

When /^I reset Bundler environment variable$/ do
  BUNDLE_ENV_VARS.each do |key|
    ENV[key] = nil
  end
end

def prepend_path(path)
  ENV['PATH'] = path + ":" + ENV['PATH']
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
airbrake-3.1.10 features/support/env.rb
airbrake-3.1.9 features/support/env.rb
airbrake-3.1.8 features/support/env.rb
airbrake-3.1.7 features/support/env.rb