Sha256: 99e243fab661d61f0dde0108466702e0f42f9df59e2a9e181b20c65dc9803d9b
Contents?: true
Size: 778 Bytes
Versions: 16
Compression:
Stored size: 778 Bytes
Contents
require 'bundler' require '<%= identifier %>' require 'killbill/helpers/active_merchant/killbill_spec_helper' require 'logger' require 'rspec' RSpec.configure do |config| config.color_enabled = true config.tty = true config.formatter = 'documentation' end require defined?(JRUBY_VERSION) ? 'arjdbc' : 'active_record' db_config = { :adapter => ENV['AR_ADAPTER'] || 'sqlite3', :database => ENV['AR_DATABASE'] || 'test.db', } db_config[:username] = ENV['AR_USERNAME'] if ENV['AR_USERNAME'] db_config[:password] = ENV['AR_PASSWORD'] if ENV['AR_PASSWORD'] ActiveRecord::Base.establish_connection(db_config) # For debugging #ActiveRecord::Base.logger = Logger.new(STDOUT) # Create the schema require File.expand_path(File.dirname(__FILE__) + '../../db/schema.rb')
Version data entries
16 entries across 16 versions & 1 rubygems