From 4bacc8bb13ae217f3e12444475bfc2431abe2dd9 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 3 Mar 2014 15:04:23 -0600 Subject: [PATCH] Simplify test formula setup --- Library/Homebrew/test/testball.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/test/testball.rb b/Library/Homebrew/test/testball.rb index d7479a7f7a..75e381873c 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