aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-02-21 00:41:07 -0500
committerJack Nagel2014-02-21 00:41:07 -0500
commit662560e40d347b996efe85313f9be1f852a31fd3 (patch)
tree7533f390ab845590838da4bb5e93d5724341e970 /Library
parent129e25032beec324f3441608c14b86f0e75227aa (diff)
downloadbrew-662560e40d347b996efe85313f9be1f852a31fd3.tar.bz2
Remove test with too much implementation knowledge
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_formula.rb13
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'