diff options
| author | Adam Vandenberg | 2010-03-02 22:54:12 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2010-04-06 08:27:11 -0700 |
| commit | 1f82fe4dc7acb1edd81fa41b9fa3829c7d1b9c12 (patch) | |
| tree | 4ed85c7777643933170b85378e5ff1590d3d9bd7 /Library/Homebrew/test/test_patching.rb | |
| parent | 259ae27cc441d0fe273d5fcd8a8b72ac32d73ae7 (diff) | |
| download | brew-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.rb | 13 |
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 |
