aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorMike McQuaid2017-07-30 21:44:43 +0100
committerMike McQuaid2017-07-30 21:44:43 +0100
commit044f4d947bd7f75efcab427716769697c0fa0b10 (patch)
tree2cc1d858ab6f85584393a2eca768404df60939c6 /Library/Homebrew/test
parent9d55446cd065801b16af11fc492895eb178262d2 (diff)
downloadbrew-044f4d947bd7f75efcab427716769697c0fa0b10.tar.bz2
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.
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/bottle_hooks_spec.rb3
1 files changed, 1 insertions, 2 deletions
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