cleanup_spec: test go_cache cleanup
This commit is contained in:
parent
318eb5054f
commit
b333f7abe6
@ -225,6 +225,15 @@ describe Homebrew::Cleanup do
|
||||
expect(incomplete).not_to exist
|
||||
end
|
||||
|
||||
it "cleans up 'go_cache'" do
|
||||
go_cache = (HOMEBREW_CACHE/"go_cache")
|
||||
go_cache.mkpath
|
||||
|
||||
subject.cleanup_cache
|
||||
|
||||
expect(go_cache).not_to exist
|
||||
end
|
||||
|
||||
it "cleans up 'glide_home'" do
|
||||
glide_home = (HOMEBREW_CACHE/"glide_home")
|
||||
glide_home.mkpath
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user