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

Version Path
rails_db-2.4.4 test/test_helper.rb
rails_db-2.4.3 test/test_helper.rb
rails_db-2.4.2 test/test_helper.rb
rails_db-2.4.1 test/test_helper.rb
rails_db-2.4.0 test/test_helper.rb
rails_db-2.3.1 test/test_helper.rb
rails_db-2.3.0 test/test_helper.rb
rails_db-2.2.1 test/test_helper.rb
rails_db-2.2.0 test/test_helper.rb
rails_db-2.1.1 test/test_helper.rb
rails_db-2.1.0 test/test_helper.rb
rails_db-2.0.6 test/test_helper.rb
rails_db-2.0.5 test/test_helper.rb
rails_db-2.0.4 test/test_helper.rb
xplore-0.0.1.alpha test/test_helper.rb
rails_db-2.0.3 test/test_helper.rb
rails_db-2.0.2 test/test_helper.rb
rails_db-2.0.1 test/test_helper.rb
rails_db-2.0.0 test/test_helper.rb