aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/cmd/link_spec.rb
AgeCommit message (Collapse)Author
2017-07-29Silence all specs by default.Markus Reiter
2017-04-01Fix the 'export PATH' message in `link` for a keg-only formulaEugene Nikolsky
Commit 4cae6a724e6d684eb157dd6d7328755694f228b2 introduced the message, but it printed the wrong path, e.g. for `brew link sqlite`: ``` If you need to have this software first in your PATH instead consider running: echo 'export PATH="/usr/local/opt/sqlite:$PATH"' >> ~/.zshrc/bin ``` where `/bin` is appended at the end, but should be inserted before `:$PATH`: `echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' >> ~/.zshrc`. This patch fixes that and updates a test to verify it.
2017-02-23Convert `brew link` test to spec.Markus Reiter