Sha256: 4fb21d2ed93f6695cbb20416d481a6895b13a2f39d85e7a5a70bcca13c565630
Contents?: true
Size: 387 Bytes
Versions: 1
Compression:
Stored size: 387 Bytes
Contents
require 'spec_helper' describe ROM do describe '.setup' do it 'creates a boot instance using a database config hash' do boot = ROM.setup( adapter: 'memory', database: 'test', hostname: 'localhost' ) expect(boot[:default]).to be(boot.repositories[:default]) expect(boot.default.adapter.uri.to_s).to eql("memory://localhost/test") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rom-0.5.0 | spec/unit/rom_spec.rb |