From d225175973e7109b6f250401321db55b8d708a5d Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Sat, 20 Dec 2014 12:23:12 -0500 Subject: [PATCH] remove Homebrew code dependency when testing --- test/test_helper.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/test_helper.rb b/test/test_helper.rb index eb11b9d37..40de171b6 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -4,14 +4,15 @@ require 'bundler/setup' homebrew_path = Pathname(`brew --prefix`.chomp) homebrew_path = Pathname('/usr/local') unless homebrew_path.exist? -# add cask lib to load path +# add homebrew-cask lib to load path brew_cask_path = homebrew_path.join('Library', 'Taps', 'caskroom', 'homebrew-cask') lib_path = brew_cask_path.join('lib') $:.push(lib_path) -# add homebrew to load path -$:.push(homebrew_path.join('Library', 'Homebrew')) +# add our homebrew fork to load path +# todo: removeme, this is transitional +$:.push(lib_path.join('homebrew-fork', 'Library', 'Homebrew')) # require homebrew testing env require 'test/testing_env'