Sha256: a856a646f26abf0a8b0300c0a5562c2c1047c67de1531f7e80c4586afae6a1f3
Contents?: true
Size: 1.03 KB
Versions: 2
Compression:
Stored size: 1.03 KB
Contents
require 'bundler/setup' Bundler.require require 'shoulda' require 'shoulda/matchers' require 'active_record' require 'logger' require 'rest_client' require 'apl-library' require 'shoulda/matchers/active_record' require 'shoulda/matchers/active_model' require 'active_record/fixtures' require 'factory_girl' require 'database_cleaner' PADRINO_ENV = "test" LOCALHOST = "localhost" DEPLOY_ENV = LOCALHOST SUPPLY_CHAIN_ENV = PADRINO_ENV SUPPLY_CHAIN_COMPANY = "b2c" # require 'sc-core' require 'sc_core/supply_chain' DatabaseCleaner.strategy = :transaction # setup the logger require 'logger' $logger = Logger.new(STDOUT) $logger.level = Logger::WARN module Kernel def logger $logger end end ActiveRecord::Base.logger = $logger ActiveRecord::Base.establish_connection(:adapter => "mysql2", :host => "localhost", :username => "root", :password => "", :database => "apl_library_test")
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
apl-library-0.0.90 | test/test_helper.rb |
apl-library-0.0.90 | vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/test/test_helper.rb |