aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_updater.rb
diff options
context:
space:
mode:
authorJack Nagel2014-04-25 15:12:13 -0500
committerJack Nagel2014-04-25 18:36:31 -0500
commit52988fb6350c351323cc77e99577eca9bf955e57 (patch)
treeff0c421ffcfd07f28617d5486345f01add3c54de /Library/Homebrew/test/test_updater.rb
parent127a89a32fc2f6fe758e8cbf1d74f92e5819c55e (diff)
downloadhomebrew-52988fb6350c351323cc77e99577eca9bf955e57.tar.bz2
Pass around only absolute paths when dealing with taps
Diffstat (limited to 'Library/Homebrew/test/test_updater.rb')
-rw-r--r--Library/Homebrew/test/test_updater.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/test/test_updater.rb b/Library/Homebrew/test/test_updater.rb
index 4b974e33f..a7e4f3b46 100644
--- a/Library/Homebrew/test/test_updater.rb
+++ b/Library/Homebrew/test/test_updater.rb
@@ -85,9 +85,9 @@ class UpdaterTests < Test::Unit::TestCase
perform_update(fixture('update_git_diff_output_with_tapped_formulae_changes'))
assert @updater.expectations_met?
assert_equal [
- Pathname('someuser/sometap/Formula/antiword.rb'),
- Pathname('someuser/sometap/HomebrewFormula/lua.rb'),
- Pathname('someuser/sometap/custom-formula.rb'),
+ HOMEBREW_LIBRARY.join("Taps", "someuser/sometap/Formula/antiword.rb"),
+ HOMEBREW_LIBRARY.join("Taps", "someuser/sometap/HomebrewFormula/lua.rb"),
+ HOMEBREW_LIBRARY.join("Taps", "someuser/sometap/custom-formula.rb"),
], @report.tapped_formula_for(:A)
end