require 'fileutils'
require 'rubygems'
begin
  require "simplecov"
  require "codeclimate-test-reporter"
  SimpleCov.start do
    formatter SimpleCov::Formatter::MultiFormatter.new([
      SimpleCov::Formatter::HTMLFormatter,
      CodeClimate::TestReporter::Formatter
    ])
  end
rescue LoadError
end

gem 'minitest'
require 'minitest/autorun'

require File.join(File.dirname(__FILE__), '..', 'lib', 'envyable')

def destination_root(opts={})
  dir = File.join(File.dirname(__FILE__), "sandbox")
  FileUtils.mkdir_p(dir)
  FileUtils.touch("#{dir}/.gitignore") if opts[:with_gitignore]
  dir
end

require 'fileutils'
require 'rubygems'
begin
  require "simplecov"
  require "codeclimate-test-reporter"
  SimpleCov.start do
    formatter SimpleCov::Formatter::MultiFormatter.new([
      SimpleCov::Formatter::HTMLFormatter,
      CodeClimate::TestReporter::Formatter
    ])
    add_filter "/spec/"
  end
rescue LoadError
end

gem 'minitest'
require 'minitest/autorun'

require File.join(File.dirname(__FILE__), '..', 'lib', 'envyable')

def destination_root(opts={})
  dir = File.join(File.dirname(__FILE__), "sandbox")
  FileUtils.mkdir_p(dir)
  FileUtils.touch("#{dir}/.gitignore") if opts[:with_gitignore]
  dir
end

Stop showing coverage for spec files
Stop showing coverage for spec files
