aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_missing.rb
diff options
context:
space:
mode:
authorMarkus Reiter2016-09-27 00:03:40 +0200
committerMarkus Reiter2016-09-27 00:15:56 +0200
commitd508b124a43f4d1fd5500e9b023dcf9a1b41fc6a (patch)
tree912e1ce8fd7ace5717c2a0dc08c8317e51ddf3dd /Library/Homebrew/test/test_missing.rb
parentcd677cf3aed7a0aed91c0f3428091d0fe52c60e9 (diff)
downloadbrew-d508b124a43f4d1fd5500e9b023dcf9a1b41fc6a.tar.bz2
Rename/merge test files.
Diffstat (limited to 'Library/Homebrew/test/test_missing.rb')
-rw-r--r--Library/Homebrew/test/test_missing.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_missing.rb b/Library/Homebrew/test/test_missing.rb
new file mode 100644
index 000000000..3a5fd3df0
--- /dev/null
+++ b/Library/Homebrew/test/test_missing.rb
@@ -0,0 +1,11 @@
+require "helper/integration_command_test_case"
+
+class IntegrationCommandTestMissing < IntegrationCommandTestCase
+ def test_missing
+ setup_test_formula "foo"
+ setup_test_formula "bar"
+
+ (HOMEBREW_CELLAR/"bar/1.0").mkpath
+ assert_match "foo", cmd("missing")
+ end
+end