aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/support/lib
diff options
context:
space:
mode:
authorMarkus Reiter2016-11-07 00:01:57 +0100
committerMarkus Reiter2016-11-16 23:52:38 +0100
commit7b9fd538fabf450203c0120f996403e24bd02071 (patch)
treea438af18e2166df0cc88b1c2e0fa33d66a6d1842 /Library/Homebrew/test/support/lib
parent4db1317f38f5a55574854e7bf1dfe4379e807b4f (diff)
downloadbrew-7b9fd538fabf450203c0120f996403e24bd02071.tar.bz2
Move `integration_mocks` to `test/support/helper`.
Diffstat (limited to 'Library/Homebrew/test/support/lib')
-rw-r--r--Library/Homebrew/test/support/lib/integration_mocks.rb17
1 files changed, 0 insertions, 17 deletions
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