From 1c080917cdf0d79471e1b9ee07970168c6e0dee3 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Sat, 28 Dec 2024 17:35:16 -0500 Subject: [PATCH] chore: fix typo Signed-off-by: Rui Chen --- lib/bundle/brew_installer.rb | 2 +- spec/bundle/brew_services_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/bundle/brew_installer.rb b/lib/bundle/brew_installer.rb index debd25114..3a6b3c064 100644 --- a/lib/bundle/brew_installer.rb +++ b/lib/bundle/brew_installer.rb @@ -156,7 +156,7 @@ def self.formula_installed?(formula) end def self.formula_upgradable?(formula) - # Check local cache first and then authoratitive Homebrew source. + # Check local cache first and then authoritative Homebrew source. formula_in_array?(formula, upgradable_formulae) && Formula[formula].outdated? end diff --git a/spec/bundle/brew_services_spec.rb b/spec/bundle/brew_services_spec.rb index 93cbb0e8a..43221b8ca 100644 --- a/spec/bundle/brew_services_spec.rb +++ b/spec/bundle/brew_services_spec.rb @@ -8,7 +8,7 @@ described_class.reset! end - it "is empty when brew servies not installed" do + it "is empty when brew services not installed" do allow(Bundle).to receive(:services_installed?).and_return(false) expect(described_class.started_services).to be_empty end