Sha256: 65facc9be1129d9fa177fea61a67bcd75ffb9377235effce557fb0ff07db04dd

Contents?: true

Size: 237 Bytes

Versions: 1

Compression:

Stored size: 237 Bytes

Contents

require 'active_support/core_ext/hash/indifferent_access'

database_yml = File.join(ROOT_DIR, 'db', 'config.yml')
db_config = YAML.load_file(database_yml).with_indifferent_access
ActiveRecord::Base.establish_connection(db_config[:test])

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chosen_template-0.0.1 spec/support/active_record.rb