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
commit1f82fe4dc7acb1edd81fa41b9fa3829c7d1b9c12 (patch)
tree4ed85c7777643933170b85378e5ff1590d3d9bd7 /Library/Homebrew/test/test_patching.rb
parent259ae27cc441d0fe273d5fcd8a8b72ac32d73ae7 (diff)
downloadbrew-1f82fe4dc7acb1edd81fa41b9fa3829c7d1b9c12.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