From ac28cd3bfe885fdad0018ed1d8232082a3035b03 Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Sat, 28 Feb 2015 21:44:51 +0000 Subject: [PATCH] Homebrew constants replaced with Hbc variables --- test/test_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_helper.rb b/test/test_helper.rb index 94f6693ff..038ca23db 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -28,10 +28,10 @@ require 'hbc' # pretend like we installed the cask tap project_root = Pathname.new(File.expand_path("#{File.dirname(__FILE__)}/../")) -taps_dest = HOMEBREW_LIBRARY.join('Taps/caskroom') +taps_dest = Hbc.homebrew_prefix.join(*%w{Library Taps caskroom}) # create directories FileUtils.mkdir_p taps_dest -HOMEBREW_PREFIX.join('bin').mkdir +FileUtils.mkdir_p Hbc.homebrew_prefix.join('bin') FileUtils.ln_s project_root, taps_dest.join('homebrew-cask')