Sha256: 220094887319fa50f60b2e11c36912fe6752a7f29ba3b07133411288331d2a09

Contents?: true

Size: 206 Bytes

Versions: 3

Compression:

Stored size: 206 Bytes

Contents

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.1.0 spec/integration/models/user_repo_spec.rb
dry-system-rails-0.0.2 spec/integration/models/user_repo_spec.rb
dry-system-rails-0.0.1 spec/integration/models/user_repo_spec.rb