diff options
| author | Markus Reiter | 2016-11-07 00:01:57 +0100 |
|---|---|---|
| committer | Markus Reiter | 2016-11-16 23:52:38 +0100 |
| commit | 7b9fd538fabf450203c0120f996403e24bd02071 (patch) | |
| tree | a438af18e2166df0cc88b1c2e0fa33d66a6d1842 /Library/Homebrew/test/support/lib | |
| parent | 4db1317f38f5a55574854e7bf1dfe4379e807b4f (diff) | |
| download | brew-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.rb | 17 |
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 |
