Call clear_available_cache before and after Git specs.
This commit is contained in:
parent
747223e272
commit
bb1be7ef9d
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user