diff options
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' |
