aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/lib
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test/lib')
-rw-r--r--Library/Homebrew/test/lib/integration_mocks.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/Library/Homebrew/test/lib/integration_mocks.rb b/Library/Homebrew/test/lib/integration_mocks.rb
new file mode 100644
index 000000000..322163a8e
--- /dev/null
+++ b/Library/Homebrew/test/lib/integration_mocks.rb
@@ -0,0 +1,9 @@
+module Homebrew
+ module Diagnostic
+ class Checks
+ def check_integration_test
+ "This is an integration test" if ENV["HOMEBREW_INTEGRATION_TEST"]
+ end
+ end
+ end
+end