Sha256: d8e0c8e7c73a7b2f800c8d5405c91dfba68663159f25c7ebca2fecaea280ef08
Contents?: true
Size: 565 Bytes
Versions: 2
Compression:
Stored size: 565 Bytes
Contents
require 'erb' require 'active_record' require 'druthers' require 'tmpdir' db_config = File.expand_path("database.yml", File.dirname(__FILE__)) ActiveRecord::Base.configurations = YAML::load(ERB.new(IO.read(db_config)).result) def env_db ENV["DB"] || "mysql" end ActiveRecord::Base.establish_connection(env_db) ActiveRecord::Migration.verbose = false require 'test_models' require 'minitest/autorun' require 'minitest/great_expectations' require 'minitest/reporters' unless ENV['CI'] MiniTest::Reporters.use! unless ENV['CI'] Thread.abort_on_exception = true
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
druthers-0.0.3 | test/minitest_helper.rb |
druthers-0.0.2 | test/minitest_helper.rb |