aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_install.rb
diff options
context:
space:
mode:
authorMarkus Reiter2016-10-21 08:57:39 +0200
committerMarkus Reiter2016-11-16 23:52:37 +0100
commit6b6b27126d7ecc1dde9a6bc166a7e1daa3af35d2 (patch)
tree60fcf247ce650e96a0d8f5588cd1a8d79d57aeb8 /Library/Homebrew/test/test_install.rb
parentedf042ee97f80955b077724119e717a51eb25e29 (diff)
downloadbrew-6b6b27126d7ecc1dde9a6bc166a7e1daa3af35d2.tar.bz2
Reorder and rename test files.
Diffstat (limited to 'Library/Homebrew/test/test_install.rb')
-rw-r--r--Library/Homebrew/test/test_install.rb30
1 files changed, 0 insertions, 30 deletions
diff --git a/Library/Homebrew/test/test_install.rb b/Library/Homebrew/test/test_install.rb
deleted file mode 100644
index 7135dddb2..000000000
--- a/Library/Homebrew/test/test_install.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-require "helper/integration_command_test_case"
-
-class IntegrationCommandTestInstall < IntegrationCommandTestCase
- def test_install
- setup_test_formula "testball1"
- assert_match "Specify `--HEAD`", cmd_fail("install", "testball1", "--head")
- assert_match "No head is defined", cmd_fail("install", "testball1", "--HEAD")
- assert_match "No devel block", cmd_fail("install", "testball1", "--devel")
- assert_match "#{HOMEBREW_CELLAR}/testball1/0.1", cmd("install", "testball1")
- assert_match "testball1-0.1 already installed", cmd("install", "testball1")
- assert_match "MacRuby is not packaged", cmd_fail("install", "macruby")
- assert_match "No available formula", cmd_fail("install", "formula")
- assert_match "This similarly named formula was found",
- cmd_fail("install", "testball")
-
- setup_test_formula "testball2"
- assert_match "These similarly named formulae were found",
- cmd_fail("install", "testball")
-
- install_and_rename_coretap_formula "testball1", "testball2"
- assert_match "testball1 already installed, it's just not migrated",
- cmd("install", "testball2")
- end
-
- def test_install_with_invalid_option
- setup_test_formula "testball1"
- assert_match "testball1: this formula has no --with-fo option so it will be ignored!",
- cmd("install", "testball1", "--with-fo")
- end
-end