Sha256: 86fedfaf401a0656f89f8403d2040d2c8d1a8704238c3d98652387b06b07d655
Contents?: true
Size: 438 Bytes
Versions: 5
Compression:
Stored size: 438 Bytes
Contents
RSpec.describe 'boot files' do subject(:system) { Test::Container } before do class Test::Container < Dry::System::Container configure do |config| config.root = SPEC_ROOT.join('fixtures/test').realpath end end end it 'auto-boots dependency of a bootable component' do system.boot!(:client) expect(system[:client]).to be_a(Client) expect(system[:client].logger).to be_a(Logger) end end
Version data entries
5 entries across 5 versions & 1 rubygems