Sha256: c181bdf4055dac15fcdcd4ffe21e61fd9bc693b57da57e6b5108feffee495e44

Contents?: true

Size: 456 Bytes

Versions: 7

Compression:

Stored size: 456 Bytes

Contents

module Parliament
  module Utils
    module TestHelpers
      module SimpleCovHelper
        
        require 'coveralls'
        require 'simplecov'

        def self.load_rspec_config(config)

          SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
            Coveralls::SimpleCov::Formatter,
            SimpleCov::Formatter::HTMLFormatter
            ])
            SimpleCov.start
          end
        end
      end
    end
  end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
parliament-utils-0.2.5 lib/parliament/utils/test_helpers/simplecov_helper.rb
parliament-utils-0.2.4 lib/parliament/utils/test_helpers/simplecov_helper.rb
parliament-utils-0.2.3 lib/parliament/utils/test_helpers/simplecov_helper.rb
parliament-utils-0.2.2 lib/parliament/utils/test_helpers/simplecov_helper.rb
parliament-utils-0.2.1 lib/parliament/utils/test_helpers/simplecov_helper.rb
parliament-utils-0.2.0 lib/parliament/utils/test_helpers/simplecov_helper.rb
parliament-utils-0.1.0 lib/parliament/utils/test_helpers/simplecov_helper.rb