Sha256: 550f45af3ec87dd7f4b66d9e6b8d04eea2009b59b0dad4befe7d4672a9cfe77c

Contents?: true

Size: 369 Bytes

Versions: 4

Compression:

Stored size: 369 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

4 entries across 4 versions & 1 rubygems

Version Path
dry-web-roda-0.5.1 spec/dummy/system/dummy/container.rb
dry-web-roda-0.5.0 spec/dummy/system/dummy/container.rb
dry-web-roda-0.4.0 spec/dummy/system/dummy/container.rb
dry-web-roda-0.1.0 spec/dummy/core/dummy/container.rb