Skip to content
Snippets Groups Projects
Commit 4bacc8bb authored by Jack Nagel's avatar Jack Nagel
Browse files

Simplify test formula setup

parent 3ddbcd96
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment