From a64f417f364f4942d355177c2787d3787f617eca Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 13 Apr 2012 21:47:33 -0500 Subject: [PATCH] tests: remove special-casing @path in TestBall Tests that expect Formula#path to resolve to a real path should use TestBallWithRealPath; TestBall gets its original behavior back, fixing a failing test in test_formula_install. Signed-off-by: Jack Nagel --- Library/Homebrew/test/test_bucket.rb | 2 +- Library/Homebrew/test/testball.rb | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/test/test_bucket.rb b/Library/Homebrew/test/test_bucket.rb index 0c14f39c0d..3247260c9c 100644 --- a/Library/Homebrew/test/test_bucket.rb +++ b/Library/Homebrew/test/test_bucket.rb @@ -86,7 +86,7 @@ class BeerTasting < Test::Unit::TestCase nostdout do assert_nothing_raised do - f=TestBall.new + f=TestBallWithRealPath.new Homebrew.info_formula f Cleaner.new f Homebrew.prune diff --git a/Library/Homebrew/test/testball.rb b/Library/Homebrew/test/testball.rb index ecee9d7096..f440a6ed9f 100644 --- a/Library/Homebrew/test/testball.rb +++ b/Library/Homebrew/test/testball.rb @@ -6,7 +6,6 @@ class TestBall