From 8c2db70cf8f9aedc524b336b7216f5f95d147dcc Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 12 Jun 2014 17:58:12 -0500 Subject: Always pass a path to formula constructor in tests --- Library/Homebrew/test/test_formula.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library') diff --git a/Library/Homebrew/test/test_formula.rb b/Library/Homebrew/test/test_formula.rb index e6caf52ee..80980173c 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 -- cgit v1.2.3