Sha256: 58fa70f3b006a6b3732ce558333a9ad2a787b95674d0157356ec53f2ff02d991

Contents?: true

Size: 439 Bytes

Versions: 3

Compression:

Stored size: 439 Bytes

Contents

require "rails"
require "action_controller/railtie"
require 'coverband'

module Dummy
  class Application < Rails::Application
    # Coverband needs to be setup before any of the initializers to capture usage of them
    Coverband.configure(File.open("#{Rails.root}/config/coverband.rb"))
    config.middleware.use Coverband::Middleware
    config.before_initialize do
      Coverband.start
    end
    config.eager_load = true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
coverband-4.2.0 test/rails5_dummy/config/application.rb
coverband-4.2.0.rc3 test/rails5_dummy/config/application.rb
coverband-4.2.0.rc2 test/rails5_dummy/config/application.rb