aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-03 15:04:23 -0600
committerJack Nagel2014-03-03 15:04:23 -0600
commit4bacc8bb13ae217f3e12444475bfc2431abe2dd9 (patch)
tree22bf3e489ecf972212d595e30e42a05ef420c19b /Library
parent3ddbcd9670d2303247f5d30ac404f57e3fff8352 (diff)
downloadbrew-4bacc8bb13ae217f3e12444475bfc2431abe2dd9.tar.bz2
Simplify test formula setup
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/testball.rb5
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