rf-web/vendor/bundle/gems/public_suffix-4.0.1/test/test_helper.rb
2019-10-21 10:18:17 +02:00

19 lines
408 B
Ruby

# frozen_string_literal: true
if ENV["COVERAGE"]
require "simplecov"
SimpleCov.start
require "codecov"
SimpleCov.formatter = SimpleCov::Formatter::Codecov
end
require "minitest/autorun"
require "minitest/reporters"
require "mocha/setup"
Minitest::Reporters.use! Minitest::Reporters::DefaultReporter.new(color: true)
$LOAD_PATH.unshift File.expand_path("../lib", __dir__)
require "public_suffix"