Sha256: d2dd63b63ca6e25480759375f03ae79c9d1f768494ecac5cce3e86ad1c20001c

Contents?: true

Size: 656 Bytes

Versions: 4

Compression:

Stored size: 656 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
LAST_NOTICE      = File.join(PROJECT_ROOT, 'resources', 'notice.xml')

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.14 features/support/env.rb
airbrake-3.1.13 features/support/env.rb
airbrake-3.1.12 features/support/env.rb
airbrake-3.1.11 features/support/env.rb