Always pass a path to formula constructor in tests

This commit is contained in:
Jack Nagel 2014-06-12 17:58:12 -05:00
parent 59981c5b4c
commit 8c2db70cf8

View File

@ -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