aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_integration_cmds.rb37
1 files changed, 0 insertions, 37 deletions
diff --git a/Library/Homebrew/test/test_integration_cmds.rb b/Library/Homebrew/test/test_integration_cmds.rb
index 9b37fa545..cc8f3b458 100644
--- a/Library/Homebrew/test/test_integration_cmds.rb
+++ b/Library/Homebrew/test/test_integration_cmds.rb
@@ -17,12 +17,6 @@ class IntegrationCommandTests < Homebrew::TestCase
@formula_files.each(&:unlink)
end
- def needs_test_cmd_taps
- unless ENV["HOMEBREW_TEST_OFFICIAL_CMD_TAPS"]
- skip "HOMEBREW_TEST_OFFICIAL_CMD_TAPS is not set"
- end
- end
-
def cmd_id_from_args(args)
args_pretty = args.join(" ").gsub(TEST_TMPDIR, "@TMPDIR@")
test_pretty = "#{self.class.name}\##{name}.#{@cmd_id_index += 1}"
@@ -674,35 +668,4 @@ class IntegrationCommandTests < Homebrew::TestCase
ensure
desc_cache.unlink
end
-
- def test_bundle
- needs_test_cmd_taps
- HOMEBREW_REPOSITORY.cd do
- shutup do
- system "git", "init"
- system "git", "commit", "--allow-empty", "-m", "This is a test commit"
- end
- end
-
- mktmpdir do |path|
- FileUtils.touch "#{path}/Brewfile"
- Dir.chdir path do
- assert_equal "The Brewfile's dependencies are satisfied.",
- cmd("bundle", "check")
- end
- end
- ensure
- FileUtils.rm_rf HOMEBREW_REPOSITORY/".git"
- end
-
- def test_cask
- needs_test_cmd_taps
- assert_equal "Warning: nothing to list", cmd("cask", "list")
- end
-
- def test_services
- needs_test_cmd_taps
- assert_equal "Warning: No services available to control with `brew services`",
- cmd("services", "list")
- end
end