diff options
| author | Jack Nagel | 2014-03-03 15:04:23 -0600 |
|---|---|---|
| committer | Jack Nagel | 2014-03-03 15:04:23 -0600 |
| commit | 4bacc8bb13ae217f3e12444475bfc2431abe2dd9 (patch) | |
| tree | 22bf3e489ecf972212d595e30e42a05ef420c19b | |
| parent | 3ddbcd9670d2303247f5d30ac404f57e3fff8352 (diff) | |
| download | brew-4bacc8bb13ae217f3e12444475bfc2431abe2dd9.tar.bz2 | |
Simplify test formula setup
| -rw-r--r-- | Library/Homebrew/test/testball.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Homebrew/test/testball.rb b/Library/Homebrew/test/testball.rb index d7479a7f7..75e381873 100644 --- a/Library/Homebrew/test/testball.rb +++ b/Library/Homebrew/test/testball.rb @@ -4,9 +4,8 @@ class TestBall < Formula def initialize(name="test_ball") @homepage = 'http://example.com/' self.class.instance_eval do - @stable ||= SoftwareSpec.new - @stable.url "file:///#{TEST_FOLDER}/tarballs/testball-0.1.tbz" - @stable.sha1 "482e737739d946b7c8cbaf127d9ee9c148b999f5" + stable.url "file:///#{TEST_FOLDER}/tarballs/testball-0.1.tbz" + stable.sha1 "482e737739d946b7c8cbaf127d9ee9c148b999f5" end super end |
