Sha256: 5aafd13daf5ff6c76c0c7147b39ca806e552b99120326f0c08ca1002805b5b19
Contents?: true
Size: 453 Bytes
Versions: 20
Compression:
Stored size: 453 Bytes
Contents
# frozen_string_literal: true require 'rubygems' require 'bundler/setup' require 'active_record' require_relative '../lib/rails-pg-extras' ENV["DATABASE_URL"] ||= "postgresql://postgres:secret@localhost:5432/rails-pg-extras-test" RSpec.configure do |config| config.before :suite do ActiveRecord::Base.establish_connection( ENV.fetch("DATABASE_URL") ) end config.after :suite do ActiveRecord::Base.remove_connection end end
Version data entries
20 entries across 20 versions & 1 rubygems