aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-07-16 21:07:42 +0100
committerMike McQuaid2016-07-27 15:05:42 -0600
commit7f2f602e440d109e10fa75b1d312b8c228371f5c (patch)
tree83bd338143fb6cc7833b6a1ae3f1559720938ca5 /Library
parent1f6f832c005e7385cf0202ca00b9b82a5bec1548 (diff)
downloadbrew-7f2f602e440d109e10fa75b1d312b8c228371f5c.tar.bz2
test_formula: port to generic layer.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_formula.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Homebrew/test/test_formula.rb b/Library/Homebrew/test/test_formula.rb
index d586481f5..e9d3ba9bf 100644
--- a/Library/Homebrew/test/test_formula.rb
+++ b/Library/Homebrew/test/test_formula.rb
@@ -414,14 +414,12 @@ class FormulaTests < Homebrew::TestCase
end
def test_to_hash_bottle
- MacOS.stubs(:version).returns(MacOS::Version.new("10.11"))
-
f1 = formula("foo") do
url "foo-1.0"
bottle do
cellar :any
- sha256 TEST_SHA256 => :el_capitan
+ sha256 TEST_SHA256 => Utils::Bottles.tag
end
end