diff options
| author | Jack Nagel | 2014-06-12 23:14:01 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-12 23:14:01 -0500 |
| commit | 1b9aed4025bf722313bd5276322dbb83b1298a5c (patch) | |
| tree | 79d4276160b9458f3df045c68a2ea1c788bdfd43 /Library | |
| parent | d3ad1212fb175d22627e42d9da15ce8c8eeb5b6b (diff) | |
| download | brew-1b9aed4025bf722313bd5276322dbb83b1298a5c.tar.bz2 | |
Always pass path to formula constructor
Diffstat (limited to 'Library')
| -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" |
