You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
330 B

# wire in a fake appdir for linkapps
CANNED_APPDIR = (HOMEBREW_REPOSITORY/"Applications")
Cask.appdir = CANNED_APPDIR
module FakeAppdirHooks
def before_setup
super
CANNED_APPDIR.mkdir
end
def after_teardown
super
FileUtils.rm_rf(CANNED_APPDIR)
end
end
class MiniTest::Spec
include FakeAppdirHooks
end