Browse Source

mkdir HOMEBREW_CACHE to allow downloads in tests

phinze 12 years ago
parent
commit
550ea38adc
  1. 3
      test/test_helper.rb

3
test/test_helper.rb

@ -18,6 +18,9 @@ require 'test/testing_env'
# add in HOMEBREW_LIBRARY constant, which is for some reason not set in testing_env
HOMEBREW_LIBRARY = HOMEBREW_REPOSITORY/"Library"
# making homebrew's cache dir allows us to actually download casks in tests
HOMEBREW_CACHE.mkpath
# must be called after testing_env so at_exit hooks are in proper order
require 'minitest/spec'

Loading…
Cancel
Save