Mike McQuaid b58fa4ebb1
Drop Mavericks support.
Companion to https://github.com/Homebrew/brew/pull/7698.

Provide better, `odeprecated` messaging for
`depends_on :macos => :mavericks` and otherwise just fix up the code
that relied on `:mavericks`.
2020-06-10 10:06:46 +01:00

13 lines
309 B
Ruby

# frozen_string_literal: true
require "utils/bottles"
describe Utils::Bottles do
describe "#tag", :needs_macos do
it "returns :catalina on Catalina" do
allow(MacOS).to receive(:version).and_return(MacOS::Version.new("10.15"))
expect(described_class.tag).to eq(:catalina)
end
end
end