From 364adff35c7700a0ab05968907b57d219744f489 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Fri, 21 Oct 2016 16:54:45 +0200 Subject: [PATCH] Bring `spec_helper` in line with `test_helper`. --- Library/Homebrew/cask/spec/spec_helper.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/cask/spec/spec_helper.rb b/Library/Homebrew/cask/spec/spec_helper.rb index b71e1ecaeb..1e41e3de43 100644 --- a/Library/Homebrew/cask/spec/spec_helper.rb +++ b/Library/Homebrew/cask/spec/spec_helper.rb @@ -31,11 +31,11 @@ Hbc.appdir = Pathname.new(TEST_TMPDIR).join("Applications").tap(&:mkpath) Hbc.cache.mkpath Hbc.caskroom.mkpath Hbc.default_tap = Tap.fetch("caskroom", "spec").tap do |tap| - tap.path.dirname.mkpath + # link test casks + FileUtils.mkdir_p tap.path.dirname + FileUtils.ln_s Pathname.new(__FILE__).dirname.join("support"), tap.path end -FileUtils.ln_s Pathname.new(__FILE__).dirname.join("support"), Hbc.default_tap.path - RSpec.configure do |config| config.order = :random config.include(Test::Helper::Env)