Sha256: 3930e4b3f4ce9e4db8518118691bccd02134570d5f8d17965808ceb9043c8f3d

Contents?: true

Size: 609 Bytes

Versions: 6

Compression:

Stored size: 609 Bytes

Contents

require 'active_support'
require 'rspec'

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
BUILT_GEM_ROOT   = File.join(TEMP_DIR, 'built_gems').freeze
LOCAL_GEM_ROOT   = File.join(TEMP_DIR, 'local_gems').freeze
RACK_FILE        = File.join(TEMP_DIR, 'rack_app.rb').freeze

Before do
  FileUtils.mkdir_p(TEMP_DIR)
  FileUtils.rm_rf(BUILT_GEM_ROOT)
  FileUtils.rm_rf(LOCAL_RAILS_ROOT)
  FileUtils.rm_f(RACK_FILE)
  FileUtils.mkdir_p(BUILT_GEM_ROOT)
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
honeybadger-1.3.1 features/support/env.rb
honeybadger-1.3.0 features/support/env.rb
honeybadger-1.2.1 features/support/env.rb
honeybadger-1.2.0 features/support/env.rb
honeybadger-1.1.0 features/support/env.rb
honeybadger-1.0.0 features/support/env.rb