Fix another filesystem leak in updater tests

This commit is contained in:
Jack Nagel 2015-02-15 12:54:03 -05:00
parent eaf82ba09b
commit 3f3b7746dd

View File

@ -51,6 +51,10 @@ class UpdaterTests < Homebrew::TestCase
@report = Report.new
end
def teardown
FileUtils.rm_rf HOMEBREW_LIBRARY.join("Taps")
end
def perform_update(fixture_name="")
@updater.diff = fixture(fixture_name)
@updater.in_repo_expect("git checkout -q master")