diff options
| author | Jack Nagel | 2014-02-21 00:41:07 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-02-21 00:41:07 -0500 |
| commit | f84c58ce09a9fdd557597d7aa3e4be46936f6e88 (patch) | |
| tree | 414ea62479c2588d658d6f327606136e8eb5b05b /Library | |
| parent | d6fd5da0994ca30a1fe70f9964a24f0240ee7ab0 (diff) | |
| download | homebrew-f84c58ce09a9fdd557597d7aa3e4be46936f6e88.tar.bz2 | |
Remove test with too much implementation knowledge
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/test/test_formula.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Library/Homebrew/test/test_formula.rb b/Library/Homebrew/test/test_formula.rb index d3c32b079..a14b29e8c 100644 --- a/Library/Homebrew/test/test_formula.rb +++ b/Library/Homebrew/test/test_formula.rb @@ -136,19 +136,6 @@ class FormulaTests < Test::Unit::TestCase assert_equal 'FooBar', Formula.class_s('foo_bar') end - def test_mirror_support - f = Class.new(Formula) do - url "file:///#{TEST_FOLDER}/bad_url/testball-0.1.tbz" - mirror "file:///#{TEST_FOLDER}/tarballs/testball-0.1.tbz" - end.new("test_mirror_support") - - shutup { f.fetch } - - assert_equal "file:///#{TEST_FOLDER}/bad_url/testball-0.1.tbz", f.url - assert_equal "file:///#{TEST_FOLDER}/tarballs/testball-0.1.tbz", - f.downloader.instance_variable_get(:@url) - end - def test_formula_spec_integration f = Class.new(Formula) do homepage 'http://example.com' |
