Sha256: 94c8a13f1ddf3eb067b9ad7794abb0f4f3af7e14238dd190f4673a995d909870

Contents?: true

Size: 411 Bytes

Versions: 21

Compression:

Stored size: 411 Bytes

Contents

RSpec.shared_context 'container' do
  let(:container) { ROM.container(configuration) }
  let!(:configuration) { ROM::Configuration.new(:memory) }
  let(:gateway) { configuration.gateways[:default] }
  let(:users_relation) { container.relation(:users) }
  let(:tasks_relation) { container.relation(:tasks) }
  let(:users_dataset) { gateway.dataset(:users) }
  let(:tasks_dataset) { gateway.dataset(:tasks) }
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
rom-3.3.3 spec/shared/container.rb
rom-3.3.2 spec/shared/container.rb
rom-3.3.1 spec/shared/container.rb
rom-3.3.0 spec/shared/container.rb
rom-3.2.3 spec/shared/container.rb
rom-3.2.2 spec/shared/container.rb
rom-3.2.1 spec/shared/container.rb
rom-3.2.0 spec/shared/container.rb
rom-3.1.0 spec/shared/container.rb
rom-3.0.3 spec/shared/container.rb
rom-3.0.2 spec/shared/container.rb
rom-3.0.1 spec/shared/container.rb
rom-3.0.0 spec/shared/container.rb
rom-3.0.0.rc2 spec/shared/container.rb
rom-3.0.0.rc1 spec/shared/container.rb
rom-3.0.0.beta3 spec/shared/container.rb
rom-3.0.0.beta2 spec/shared/container.rb
rom-3.0.0.beta1 spec/shared/container.rb
rom-2.0.2 spec/shared/container.rb
rom-2.0.1 spec/shared/container.rb