aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_patching.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-03-02 22:54:12 -0800
committerAdam Vandenberg2010-04-06 08:27:11 -0700
commit9c4623c42786d1814d7ed4d2379823bbaf821da0 (patch)
tree1b975098cf4fb631d06eef17c819329f882b924d /Library/Homebrew/test/test_patching.rb
parent13f63b18a8447b15cd59bd32b0cd8705f165d20b (diff)
downloadhomebrew-9c4623c42786d1814d7ed4d2379823bbaf821da0.tar.bz2
Move TestBall definition to separate file.
Diffstat (limited to 'Library/Homebrew/test/test_patching.rb')
-rw-r--r--Library/Homebrew/test/test_patching.rb13
1 files changed, 1 insertions, 12 deletions
diff --git a/Library/Homebrew/test/test_patching.rb b/Library/Homebrew/test/test_patching.rb
index df4825711..ea8d159a6 100644
--- a/Library/Homebrew/test/test_patching.rb
+++ b/Library/Homebrew/test/test_patching.rb
@@ -3,21 +3,10 @@ require 'testing_env'
require 'extend/ARGV' # needs to be after test/unit to avoid conflict with OptionsParser
ARGV.extend(HomebrewArgvExtension)
-require 'formula'
+require 'test/testball'
require 'utils'
-class TestBall <Formula
- def initialize name
- @url="file:///#{TEST_FOLDER}/testball-0.1.tbz"
- @homepage = 'http://example.com/'
- @md5='71aa838a9e4050d1876a295a9e62cbe6'
- super name
- end
- def install ; end
-end
-
-
class DefaultPatchBall <TestBall
def patches
# Default is p1