Sha256: b08a140b67c3c83c0a55fd9ec6e0d98ceafe0f94e96f712e528a109c5b555866

Contents?: true

Size: 575 Bytes

Versions: 3

Compression:

Stored size: 575 Bytes

Contents

# frozen_string_literal: true

if ENV["COVERALLS"]
  require "simplecov"
  require "simplecov-lcov"

  SimpleCov::Formatter::LcovFormatter.config do |c|
    c.report_with_single_file = true
    c.single_report_path = "coverage/lcov.info"
  end

  SimpleCov.formatters = SimpleCov::Formatter::MultiFormatter.new(
    [SimpleCov::Formatter::HTMLFormatter, SimpleCov::Formatter::LcovFormatter]
  )

  SimpleCov.start do
    add_filter "spec/"
  end
end

$LOAD_PATH.unshift(File.expand_path("../../lib", __FILE__))
require "contracted_value"

require "rspec"
require "rspec/its"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
contracted_value-0.1.3 spec/spec_helper.rb
contracted_value-0.1.2 spec/spec_helper.rb
contracted_value-0.1.1 spec/spec_helper.rb