Sha256: a3e5aa70f88a0864ddbb952a021633a960ee1798869ebd7a733adc34c7813545

Contents?: true

Size: 736 Bytes

Versions: 20

Compression:

Stored size: 736 Bytes

Contents

#############
## WARNING ##
#############

# THIS TEST SUITE IS VERY MEAN TO MYSQL AND ELASTICSEARCH
# IT *WILL* DELETE ANY CONTENT IN THE TEST DBs

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
APP_DIR ||= File.expand_path('../../', __FILE__)

require 'forklift'
require 'awesome_print'
require 'rspec'
require 'fileutils'

ENV["FORKLIFT_RUN_ALL_STEPS"] = 'true'

Dir["#{APP_DIR}/spec/support/**/*.rb"].each {|f| require f}

RSpec.configure do |config|

  config.before(:all) do
    piddir = "#{File.dirname(__FILE__)}/pid"
    FileUtils.rmdir(piddir) if File.exists?(piddir)
    SpecSeeds.setup_mysql
    SpecSeeds.setup_elasticsearch
    SpecSeeds.setup_csv
  end

end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
forklift_etl-1.2.2 spec/spec_helper.rb
forklift_etl-1.2.1 spec/spec_helper.rb
forklift_etl-1.2.0 spec/spec_helper.rb
forklift_etl-1.1.12 spec/spec_helper.rb
forklift_etl-1.1.11 spec/spec_helper.rb
forklift_etl-1.1.10 spec/spec_helper.rb
forklift_etl-1.1.9 spec/spec_helper.rb
forklift_etl-1.1.8 spec/spec_helper.rb
forklift_etl-1.1.7 spec/spec_helper.rb
forklift_etl-1.1.6 spec/spec_helper.rb
forklift_etl-1.1.5 spec/spec_helper.rb
forklift_etl-1.1.4 spec/spec_helper.rb
forklift_etl-1.1.3 spec/spec_helper.rb
forklift_etl-1.1.2 spec/spec_helper.rb
forklift_etl-1.1.0 spec/spec_helper.rb
forklift_etl-1.0.19 spec/spec_helper.rb
forklift_etl-1.0.18 spec/spec_helper.rb
forklift_etl-1.0.17 spec/spec_helper.rb
forklift_etl-1.0.16 spec/spec_helper.rb
forklift_etl-1.0.15 spec/spec_helper.rb