Sha256: ea40c01bf006497608be78a4236a9e5bb6da79cc0529571b90c78bcade3c6f4f
Contents?: true
Size: 767 Bytes
Versions: 19
Compression:
Stored size: 767 Bytes
Contents
# Configure Rails Environment ENV["RAILS_ENV"] = "test" puts "TRYING TO USE DB: #{ENV['DB'] || 'default'}" require File.expand_path("../../test/dummy/config/environment.rb", __FILE__) ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)] ActiveRecord::Migrator.migrations_paths << File.expand_path('../../db/migrate', __FILE__) require "rails/test_help" puts "USING DB: #{RailsDb::Database.adapter.adapter_name}" puts "USING Rails: #{Gem.loaded_specs['rails'].version}" # Filter out Minitest backtrace while allowing backtrace from other libraries # to be shown. Minitest.backtrace_filter = Minitest::BacktraceFilter.new # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
Version data entries
19 entries across 19 versions & 2 rubygems