mirror of
https://github.com/gosticks/brew.git
synced 2026-08-12 20:50:29 +00:00
Call clear_available_cache before and after Git specs.
This commit is contained in:
@@ -3,9 +3,14 @@
|
||||
require "utils/git"
|
||||
|
||||
describe Utils::Git do
|
||||
before do
|
||||
around do |example|
|
||||
described_class.clear_available_cache
|
||||
example.run
|
||||
ensure
|
||||
described_class.clear_available_cache
|
||||
end
|
||||
|
||||
before do
|
||||
git = HOMEBREW_SHIMS_PATH/"scm/git"
|
||||
|
||||
HOMEBREW_CACHE.cd do
|
||||
|
||||
Reference in New Issue
Block a user