Sha256: 894536590a060889a194c64e30bc1a82cfe0a195da923b638540108952daba62
Contents?: true
Size: 314 Bytes
Versions: 2
Compression:
Stored size: 314 Bytes
Contents
require 'spec_helper' describe 'ROM initializer' do it 'allows setting up a custom repository' do repository = ROM::TestAdapter::Repository.new(foo: :bar) relation = DummyRelation.new([]) expect(rom.repositories[:test]).to eql(repository) expect(rom.relations.dummy).to eql(relation) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rom-rails-0.3.3 | spec/dummy/spec/integration/initializer_spec.rb |
rom-rails-0.3.2 | spec/dummy/spec/integration/initializer_spec.rb |