From 662560e40d347b996efe85313f9be1f852a31fd3 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 21 Feb 2014 00:41:07 -0500 Subject: [PATCH] Remove test with too much implementation knowledge --- Library/Homebrew/test/test_formula.rb | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Library/Homebrew/test/test_formula.rb b/Library/Homebrew/test/test_formula.rb index d3c32b079b..a14b29e8cc 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'