aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorJack Nagel2014-06-12 17:58:12 -0500
committerJack Nagel2014-06-12 17:58:12 -0500
commitcbc7c07540db5d765eb24a3263271820646e9552 (patch)
tree9bcec7fd52eff88be3ad3e387ab00b057edb4fa2 /Library/Homebrew/test
parentbc8ddf0db035bdea96f4f3138b20cf398561cbc1 (diff)
downloadhomebrew-cbc7c07540db5d765eb24a3263271820646e9552.tar.bz2
Always pass a path to formula constructor in tests
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_formula.rb4
1 files changed, 2 insertions, 2 deletions
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