Sha256: 99390247436a028ec2948f551bb40e96a35ae9b0e5c2aeecbfbcc6bfdd762bd8

Contents?: true

Size: 237 Bytes

Versions: 3

Compression:

Stored size: 237 Bytes

Contents

# frozen_string_literal: true

require 'user_repo'

RSpec.describe UserRepo do
  subject(:user_repo) { UserRepo.new }

  it 'has persistence.db injected in' do
    expect(user_repo.db).to be(Dummy::Container['persistence.db'])
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dry-system-rails-0.3.1 spec/integration/models/user_repo_spec.rb
dry-system-rails-0.3.0 spec/integration/models/user_repo_spec.rb
dry-system-rails-0.2.0 spec/integration/models/user_repo_spec.rb