aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/lib
diff options
context:
space:
mode:
authorBaptiste Fontaine2016-01-05 15:45:45 +0100
committerBaptiste Fontaine2016-01-06 12:22:58 +0100
commitc8401b8243ee5fba55cc9ca507dd57347c3480aa (patch)
tree68a2f327193d1025b8cf7b34b74c61c19845861f /Library/Homebrew/test/lib
parentd6c6f003935dc3d41e794cdcd17642604b295544 (diff)
downloadbrew-c8401b8243ee5fba55cc9ca507dd57347c3480aa.tar.bz2
a few more integration tests
Closes Homebrew/homebrew#47714. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
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