aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorJack Nagel2012-04-06 23:40:54 -0500
committerJack Nagel2012-04-06 23:54:41 -0500
commitd2c9b27e14a0a1e7e3620ee562ac6111da142873 (patch)
tree44341d64306490e2e0a2ba424cdd234161d106e1 /Library/Homebrew/test
parent504756745b36974e9d4dd18549b93cd0dad7678b (diff)
downloadbrew-d2c9b27e14a0a1e7e3620ee562ac6111da142873.tar.bz2
info: output correct URL for tapped dupes
Tapped formulae that dupe those in core now display the correct URL when invoked like `brew info homebrew/dupes/openssl`. This also fixes the broken `brew info` test. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/testball.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/test/testball.rb b/Library/Homebrew/test/testball.rb
index a77d7709c..15069033d 100644
--- a/Library/Homebrew/test/testball.rb
+++ b/Library/Homebrew/test/testball.rb
@@ -6,6 +6,7 @@ class TestBall <Formula
@url="file:///#{TEST_FOLDER}/tarballs/testball-0.1.tbz"
@homepage = 'http://example.com/'
super "testball"
+ @path = Pathname.new(__FILE__)
end
def install
prefix.install "bin"