diff --git a/Library/Homebrew/test/test_formula.rb b/Library/Homebrew/test/test_formula.rb index e6caf52ee1..80980173ce 100644 --- a/Library/Homebrew/test/test_formula.rb +++ b/Library/Homebrew/test/test_formula.rb @@ -169,8 +169,8 @@ class FormulaTests < Test::Unit::TestCase bottle { sha1 TEST_SHA1 => bottle_tag } - def initialize(name="test", path=nil) - super + def initialize + super "test", Pathname.new(__FILE__) end end.new