From 7b9fd538fabf450203c0120f996403e24bd02071 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Mon, 7 Nov 2016 00:01:57 +0100 Subject: Move `integration_mocks` to `test/support/helper`. --- Library/Homebrew/test/support/lib/integration_mocks.rb | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 Library/Homebrew/test/support/lib/integration_mocks.rb (limited to 'Library/Homebrew/test/support/lib') diff --git a/Library/Homebrew/test/support/lib/integration_mocks.rb b/Library/Homebrew/test/support/lib/integration_mocks.rb deleted file mode 100644 index 6effb0cde..000000000 --- a/Library/Homebrew/test/support/lib/integration_mocks.rb +++ /dev/null @@ -1,17 +0,0 @@ -module Homebrew - module Diagnostic - class Checks - def check_integration_test - "This is an integration test" if ENV["HOMEBREW_INTEGRATION_TEST"] - end - end - end - - def exec(*args) - if ENV["HOMEBREW_TESTS_COVERAGE"] && ENV["HOMEBREW_INTEGRATION_TEST"] - # Ensure we get coverage results before replacing the current process. - SimpleCov.result - end - Kernel.exec(*args) - end -end -- cgit v1.2.3