aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_formula_spec_selection.rb
diff options
context:
space:
mode:
authorJack Nagel2014-03-10 14:56:02 -0500
committerJack Nagel2014-03-10 14:56:02 -0500
commit2bf3e69866d30ccfea48f123aab2e9c9bfca0293 (patch)
tree6fa9d6576412ed6a38856ffce13aa87a279371d1 /Library/Homebrew/test/test_formula_spec_selection.rb
parentee7d227a2f31b9f30aeaba4dae7b52d3999038b6 (diff)
downloadhomebrew-2bf3e69866d30ccfea48f123aab2e9c9bfca0293.tar.bz2
Make bottle implementation more generic
Diffstat (limited to 'Library/Homebrew/test/test_formula_spec_selection.rb')
-rw-r--r--Library/Homebrew/test/test_formula_spec_selection.rb21
1 files changed, 0 insertions, 21 deletions
diff --git a/Library/Homebrew/test/test_formula_spec_selection.rb b/Library/Homebrew/test/test_formula_spec_selection.rb
index a572623d8..af23a002c 100644
--- a/Library/Homebrew/test/test_formula_spec_selection.rb
+++ b/Library/Homebrew/test/test_formula_spec_selection.rb
@@ -34,17 +34,6 @@ class FormulaSpecSelectionTests < Test::Unit::TestCase
assert_spec_selected :devel
end
- def test_selects_bottle_when_available
- formula do
- def install_bottle?(*); true; end
-
- url 'foo-1.0'
- bottle { sha1 TEST_SHA1 => bottle_tag }
- end
-
- assert_spec_selected :bottle
- end
-
def test_selects_stable_by_default
formula do
url 'foo-1.0'
@@ -119,14 +108,4 @@ class FormulaSpecSelectionTests < Test::Unit::TestCase
assert_spec_unset :devel
assert_spec_selected :stable
end
-
- def test_incomplete_bottle_not_set
- formula do
- url 'foo-1.0'
- bottle { sha1 TEST_SHA1 => :some_nonexistent_thing }
- end
-
- assert_spec_unset :bottle
- assert_spec_selected :stable
- end
end