aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/spec
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cask/spec')
-rw-r--r--Library/Homebrew/cask/spec/spec_helper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/cask/spec/spec_helper.rb b/Library/Homebrew/cask/spec/spec_helper.rb
index d197db983..6bb13bdcf 100644
--- a/Library/Homebrew/cask/spec/spec_helper.rb
+++ b/Library/Homebrew/cask/spec/spec_helper.rb
@@ -2,9 +2,9 @@ require "pathname"
require "rspec/its"
require "rspec/wait"
-if ENV["COVERAGE"]
- require "coveralls"
- Coveralls.wear_merged!
+if ENV["HOMEBREW_TESTS_COVERAGE"]
+ require "simplecov"
+ SimpleCov.command_name "test:cask:rspec"
end
project_root = Pathname.new(File.expand_path("../..", __FILE__))