 b58fa4ebb1
			
		
	
	
		b58fa4ebb1
		
			
		
	
	
	
	
		
			
			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`.
		
			
				
	
	
		
			13 lines
		
	
	
		
			309 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			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
 |