Fix spelling; Github -> GitHub

This commit is contained in:
John Bampton 2024-06-15 19:08:53 +10:00
parent fad96312fe
commit f6ee19239d
4 changed files with 9 additions and 9 deletions

View File

@ -56,7 +56,7 @@ RSpec.describe CurlGitHubPackagesDownloadStrategy do
strategy.fetch
end
context "with Github Packages authentication defined" do
context "with GitHub Packages authentication defined" do
let(:authorization) { "Bearer dead-beef-cafe" }
it "calls curl with the provided header value" do

View File

@ -281,7 +281,7 @@ RSpec.describe Homebrew::FormulaAuditor do
end
it "checks online and verifies that a standard license id is the same " \
"as what is indicated on its Github repo", :needs_network do
"as what is indicated on its GitHub repo", :needs_network do
formula_text = <<~RUBY
class Cask < Formula
url "https://github.com/cask/cask/archive/v0.8.4.tar.gz"
@ -297,7 +297,7 @@ RSpec.describe Homebrew::FormulaAuditor do
end
it "checks online and verifies that a standard license id with AND is the same " \
"as what is indicated on its Github repo", :needs_network do
"as what is indicated on its GitHub repo", :needs_network do
formula_text = <<~RUBY
class Cask < Formula
url "https://github.com/cask/cask/archive/v0.8.4.tar.gz"
@ -313,7 +313,7 @@ RSpec.describe Homebrew::FormulaAuditor do
end
it "checks online and verifies that a standard license id with WITH is the same " \
"as what is indicated on its Github repo", :needs_network do
"as what is indicated on its GitHub repo", :needs_network do
formula_text = <<~RUBY
class Cask < Formula
url "https://github.com/cask/cask/archive/v0.8.4.tar.gz"
@ -395,7 +395,7 @@ RSpec.describe Homebrew::FormulaAuditor do
end
it "checks online and detects that a formula-specified license is not " \
"the same as what is indicated on its Github repository", :needs_network do
"the same as what is indicated on its GitHub repository", :needs_network do
formula_text = <<~RUBY
class Cask < Formula
url "https://github.com/cask/cask/archive/v0.8.4.tar.gz"
@ -429,7 +429,7 @@ RSpec.describe Homebrew::FormulaAuditor do
end
it "checks online and detects that an array of license does not contain " \
"what is indicated on its Github repository", :needs_network do
"what is indicated on its GitHub repository", :needs_network do
formula_text = <<~RUBY
class Cask < Formula
url "https://github.com/cask/cask/archive/v0.8.4.tar.gz"
@ -446,7 +446,7 @@ RSpec.describe Homebrew::FormulaAuditor do
end
it "checks online and verifies that an array of license contains " \
"what is indicated on its Github repository", :needs_network do
"what is indicated on its GitHub repository", :needs_network do
formula_text = <<~RUBY
class Cask < Formula
url "https://github.com/cask/cask/archive/v0.8.4.tar.gz"

View File

@ -54,7 +54,7 @@ RSpec.describe Homebrew::Livecheck::Strategy::GithubLatest do
expect(github_latest.generate_input_values(github_urls[:repository_upload])).to eq(generated)
end
it "returns an empty hash for a non-Github URL" do
it "returns an empty hash for a non-GitHub URL" do
expect(github_latest.generate_input_values(non_github_url)).to eq({})
end
end

View File

@ -114,7 +114,7 @@ RSpec.describe Homebrew::Livecheck::Strategy::GithubReleases do
expect(github_releases.generate_input_values(github_urls[:repository_upload])).to eq(generated)
end
it "returns an empty hash for a non-Github URL" do
it "returns an empty hash for a non-GitHub URL" do
expect(github_releases.generate_input_values(non_github_url)).to eq({})
end
end