Sha256: 24e9c4bd9f26167956e34032a44098fa07077e71b7bfca45e29f3384d2b51064

Contents?: true

Size: 370 Bytes

Versions: 1

Compression:

Stored size: 370 Bytes

Contents

require 'dry/web/container'

module Dummy
  class Container < Dry::Web::Container
    # we need to override default here because we run tests from within the
    # project root and our app is in spec/dummy
    configure do |config|
      config.root = Pathname(__FILE__).dirname.join('../..')
      config.auto_register = 'lib'
    end

    load_paths!('lib')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dry-web-0.1.0 spec/dummy/core/dummy/container.rb