From 044f4d947bd7f75efcab427716769697c0fa0b10 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 30 Jul 2017 21:44:43 +0100 Subject: Tweak preserve link status on reinstall/upgrade. Treat a `brew install` command as normal i.e. link by default unless keg-only and only specify whether a keg should be linked when upgrading or reinstalling. Also, adjust the naming accordingly so it's more obvious that this is the case. --- Library/Homebrew/test/bottle_hooks_spec.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Library/Homebrew/test') diff --git a/Library/Homebrew/test/bottle_hooks_spec.rb b/Library/Homebrew/test/bottle_hooks_spec.rb index 78ccfa47b..e70b558a1 100644 --- a/Library/Homebrew/test/bottle_hooks_spec.rb +++ b/Library/Homebrew/test/bottle_hooks_spec.rb @@ -12,8 +12,7 @@ describe Homebrew::Hooks::Bottles do local_bottle_path: nil, bottle_disabled?: false, some_random_method: true, - linked_keg: Pathname("foo"), - rack: Pathname("bar"), + keg_only?: false, ) end -- cgit v1.2.3