Merge pull request #2267 from reitermarkus/move-cask-spec-helpers
Move Cask test helpers to `test/support`.
This commit is contained in:
		
						commit
						d0c5aec9ea
					
				@ -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