Move Cask test helpers to test/support.
This commit is contained in:
parent
5fbccc03a7
commit
b9c9f0f687
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user