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

Version Path
killbill-9.4.1 generators/active_merchant/templates/spec/spec_helper.rb
killbill-8.3.6 generators/active_merchant/templates/spec/spec_helper.rb
killbill-9.4.0 generators/active_merchant/templates/spec/spec_helper.rb
killbill-9.3.2 generators/active_merchant/templates/spec/spec_helper.rb
killbill-9.3.1 generators/active_merchant/templates/spec/spec_helper.rb
killbill-8.3.5 generators/active_merchant/templates/spec/spec_helper.rb
killbill-9.3.0 generators/active_merchant/templates/spec/spec_helper.rb
killbill-9.2.2 generators/active_merchant/templates/spec/spec_helper.rb
killbill-8.3.4 generators/active_merchant/templates/spec/spec_helper.rb
killbill-8.3.3 generators/active_merchant/templates/spec/spec_helper.rb
killbill-9.2.1 generators/active_merchant/templates/spec/spec_helper.rb
killbill-9.2.0 generators/active_merchant/templates/spec/spec_helper.rb
killbill-8.3.2 generators/active_merchant/templates/spec/spec_helper.rb
killbill-8.3.1 generators/active_merchant/templates/spec/spec_helper.rb
killbill-8.3.0 generators/active_merchant/templates/spec/spec_helper.rb
killbill-7.0.6 generators/active_merchant/templates/spec/spec_helper.rb