From da2e75253d56e738345405dc0d5dc5cd3e5ecc6d Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 3 Mar 2014 15:04:23 -0600 Subject: Simplify test formula setup --- Library/Homebrew/test/testball.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3