.simplecov: use lower root directory.

This commit is contained in:
Mike McQuaid 2015-07-27 21:58:22 +01:00
parent 95658a5beb
commit 09acae83a6

View File

@ -5,12 +5,13 @@ SimpleCov.start do
minimum_coverage 50
coverage_dir File.expand_path("#{tests_path}/coverage")
root File.expand_path("#{tests_path}/..")
root File.expand_path("#{tests_path}/../../")
add_filter "Homebrew/test/"
add_filter "vendor/bundle/"
add_filter "Homebrew/vendor/"
add_filter "Formula/"
add_filter "Homebrew/compat/"
add_filter "Homebrew/test/"
add_filter "Homebrew/vendor/"
end
if name = ENV["HOMEBREW_INTEGRATION_TEST"]