aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_migrate.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_migrate.rb
parentedf042ee97f80955b077724119e717a51eb25e29 (diff)
downloadbrew-6b6b27126d7ecc1dde9a6bc166a7e1daa3af35d2.tar.bz2
Reorder and rename test files.
Diffstat (limited to 'Library/Homebrew/test/test_migrate.rb')
-rw-r--r--Library/Homebrew/test/test_migrate.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/Library/Homebrew/test/test_migrate.rb b/Library/Homebrew/test/test_migrate.rb
deleted file mode 100644
index 53b32777a..000000000
--- a/Library/Homebrew/test/test_migrate.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-require "helper/integration_command_test_case"
-
-class IntegrationCommandTestMigrate < IntegrationCommandTestCase
- def test_migrate
- setup_test_formula "testball1"
- setup_test_formula "testball2"
- assert_match "Invalid usage", cmd_fail("migrate")
- assert_match "No available formula with the name \"testball\"",
- cmd_fail("migrate", "testball")
- assert_match "testball1 doesn't replace any formula",
- cmd_fail("migrate", "testball1")
-
- install_and_rename_coretap_formula "testball1", "testball2"
- assert_match "Migrating testball1 to testball2", cmd("migrate", "testball1")
- (HOMEBREW_CELLAR/"testball1").unlink
- assert_match "Error: No such keg", cmd_fail("migrate", "testball1")
- end
-end