Sha256: 8f8b9bb591beb584be004a2cc270cf8f6651466444fc8e0bcc4095466efd3a86
Contents?: true
Size: 644 Bytes
Versions: 4
Compression:
Stored size: 644 Bytes
Contents
require 'simplecov' require 'coveralls' formatters = [SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter] SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter::new(formatters) SimpleCov.start do add_filter { |src| !(src.filename =~ /lib/) } add_filter "spec.rb" end $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__) require "<%= config.gem_name %>" require "pry" path = [File.dirname(__FILE__), "support", "**", "*.rb"] Dir[File.join(path)].each { |f| require f } RSpec.configure do |config| config.filter_run :focus config.run_all_when_everything_filtered = true config.include TestHelpers end
Version data entries
4 entries across 4 versions & 1 rubygems