diff options
| author | Martin Afanasjew | 2016-07-04 17:41:14 +0200 |
|---|---|---|
| committer | Martin Afanasjew | 2016-07-04 17:41:14 +0200 |
| commit | dba1958bd79c1c9d18f215dfc2b806ea62edd1c8 (patch) | |
| tree | 3dcf267c146d031230114d539a7a478d7908f1db /Library/Homebrew/test | |
| parent | fe29cc2920b456df3b008686d38cd8f0352c5d30 (diff) | |
| download | brew-dba1958bd79c1c9d18f215dfc2b806ea62edd1c8.tar.bz2 | |
Revert "Test officially supported cmd taps. (#390)"
This reverts commit 252c701c59227c385ef6178fe99523cca8c843bb.
Taps installed prior to running the test suite are not visible to the
test suite as most Homebrew paths are redefined as to not mess up the
local installation.
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/test_integration_cmds.rb | 37 |
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 |
