Merge pull request #4480 from reitermarkus/clear-tap-cache
Clear `Tap` cache before each example.
This commit is contained in:
commit
e61969256f
@ -98,6 +98,8 @@ RSpec.configure do |config|
|
||||
end
|
||||
|
||||
begin
|
||||
Tap.clear_cache
|
||||
|
||||
TEST_DIRECTORIES.each(&:mkpath)
|
||||
|
||||
@__homebrew_failed = Homebrew.failed?
|
||||
|
||||
@ -23,7 +23,7 @@ RSpec.shared_context "Homebrew-Cask" do
|
||||
begin
|
||||
HOMEBREW_CASK_DIRS.values.each(&:mkpath)
|
||||
|
||||
[Hbc::Config.global.binarydir].each(&:mkpath)
|
||||
Hbc::Config.global.binarydir.mkpath
|
||||
|
||||
Tap.default_cask_tap.tap do |tap|
|
||||
FileUtils.mkdir_p tap.path.dirname
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user