aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-06-23 21:26:08 -0500
committerJack Nagel2014-06-23 22:11:39 -0500
commit45840f43a2beba7b00e8601fe7562ba1f1c9cab2 (patch)
treefc53385a6fec64f8930508c14e78e3e4deb42e29 /Library
parent9f03b285738d5f82d4ecaaa1807eb1888177ce14 (diff)
downloadbrew-45840f43a2beba7b00e8601fe7562ba1f1c9cab2.tar.bz2
Clear cache after formula install tests
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_formula_install.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/Library/Homebrew/test/test_formula_install.rb b/Library/Homebrew/test/test_formula_install.rb
index 0ec094875..52ef4771c 100644
--- a/Library/Homebrew/test/test_formula_install.rb
+++ b/Library/Homebrew/test/test_formula_install.rb
@@ -5,10 +5,6 @@ require 'keg'
class InstallTests < Homebrew::TestCase
- def teardown
- HOMEBREW_CACHE.rmtree
- end
-
def temporary_install f
f.prefix.mkpath
keg = Keg.new(f.prefix)
@@ -22,6 +18,7 @@ class InstallTests < Homebrew::TestCase
ensure
keg.unlink
keg.uninstall
+ f.clear_cache
end
refute_predicate keg, :exist?
@@ -29,7 +26,7 @@ class InstallTests < Homebrew::TestCase
end
def test_a_basic_install
- f=TestBall.new
+ f = TestBall.new
refute_predicate f, :installed?