Sha256: 66e1468335670f5b87bcf751a1b5a36f584550eb43a1a5b9b942707fa9101dfd

Contents?: true

Size: 461 Bytes

Versions: 2

Compression:

Stored size: 461 Bytes

Contents

begin
  require 'spec'
  require 'active_record'
rescue LoadError
  require 'rubygems'
  gem 'rspec'
  require 'spec'
end
require 'active_record'
$:.unshift(File.dirname(__FILE__) + '/../lib')
require 'money'

config = YAML.load_file(File.dirname(__FILE__) + '/db/database.yml')
ActiveRecord::Base.logger = Logger.new("/tmp/money-debug.log")
ActiveRecord::Base.establish_connection(config)


def load_schema
  load(File.dirname(__FILE__) + "/db/schema.rb")
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
ShadowBelmolve-money-2.3.1 spec/spec_helper.rb
nofxx-money-2.3.1 spec/spec_helper.rb