Sha256: f90f713527697c846828e2ed6f9d2bba503b682c96ccd9606698d0a38518b7ed

Contents?: true

Size: 470 Bytes

Versions: 3

Compression:

Stored size: 470 Bytes

Contents

require File.expand_path('../boot', __FILE__)

require "rails"
require "action_controller/railtie"
module Rails4Dummy
  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/rails4_dummy/config/application.rb
coverband-4.2.0.rc3 test/rails4_dummy/config/application.rb
coverband-4.2.0.rc2 test/rails4_dummy/config/application.rb