diff options
| author | Jack Nagel | 2014-06-12 23:14:01 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-12 23:14:01 -0500 |
| commit | 68edc3239a903d563d434fc29d9f0b42ead0ceac (patch) | |
| tree | 135928cff4cc880c4a36c24f39315caf05260362 /Library/Homebrew | |
| parent | 9ae6bd6a0f1c34474d6a2f22bf0b16d241b66664 (diff) | |
| download | homebrew-68edc3239a903d563d434fc29d9f0b42ead0ceac.tar.bz2 | |
Always pass path to formula constructor
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/test/testball.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/testball.rb b/Library/Homebrew/test/testball.rb index e4ece70fd..d2686ba85 100644 --- a/Library/Homebrew/test/testball.rb +++ b/Library/Homebrew/test/testball.rb @@ -1,7 +1,7 @@ require 'formula' class TestBall < Formula - def initialize(name="test_ball", path=nil) + def initialize(name="test_ball", path=Pathname.new(__FILE__).expand_path) self.class.instance_eval do stable.url "file://#{TEST_DIRECTORY}/tarballs/testball-0.1.tbz" stable.sha1 "482e737739d946b7c8cbaf127d9ee9c148b999f5" |
