From 7f2f602e440d109e10fa75b1d312b8c228371f5c Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 16 Jul 2016 21:07:42 +0100 Subject: [PATCH] test_formula: port to generic layer. --- Library/Homebrew/test/test_formula.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Library/Homebrew/test/test_formula.rb b/Library/Homebrew/test/test_formula.rb index d586481f5b..e9d3ba9bf5 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