Fix spelling; Github -> GitHub
This commit is contained in:
parent
fad96312fe
commit
f6ee19239d
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user