diff options
| author | Jack Nagel | 2014-06-12 17:58:12 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-12 17:58:12 -0500 |
| commit | cbc7c07540db5d765eb24a3263271820646e9552 (patch) | |
| tree | 9bcec7fd52eff88be3ad3e387ab00b057edb4fa2 /Library/Homebrew/test | |
| parent | bc8ddf0db035bdea96f4f3138b20cf398561cbc1 (diff) | |
| download | homebrew-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.rb | 4 |
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 |
