Move Cask test helpers to test/support.

This commit is contained in:
Markus Reiter 2017-03-05 05:30:45 +01:00
parent 5fbccc03a7
commit b9c9f0f687
4 changed files with 4 additions and 2 deletions

View File

@ -4,10 +4,12 @@ require "test/spec_helper"
# add Homebrew-Cask to load path
$LOAD_PATH.push(HOMEBREW_LIBRARY_PATH.join("cask", "lib").to_s)
Pathname.glob(HOMEBREW_LIBRARY_PATH.join("cask", "spec", "support", "**", "*.rb")).each(&method(:require))
require "hbc"
require "test/support/helper/cask/fake_system_command"
require "test/support/helper/cask/install_helper"
require "test/support/helper/cask/never_sudo_system_command"
HOMEBREW_CASK_DIRS = [
:appdir,
:caskroom,