Fix spelling; Github -> GitHub
This commit is contained in:
parent
fad96312fe
commit
f6ee19239d
@ -56,7 +56,7 @@ RSpec.describe CurlGitHubPackagesDownloadStrategy do
|
|||||||
strategy.fetch
|
strategy.fetch
|
||||||
end
|
end
|
||||||
|
|
||||||
context "with Github Packages authentication defined" do
|
context "with GitHub Packages authentication defined" do
|
||||||
let(:authorization) { "Bearer dead-beef-cafe" }
|
let(:authorization) { "Bearer dead-beef-cafe" }
|
||||||
|
|
||||||
it "calls curl with the provided header value" do
|
it "calls curl with the provided header value" do
|
||||||
|
|||||||
@ -281,7 +281,7 @@ RSpec.describe Homebrew::FormulaAuditor do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it "checks online and verifies that a standard license id is the same " \
|
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
|
formula_text = <<~RUBY
|
||||||
class Cask < Formula
|
class Cask < Formula
|
||||||
url "https://github.com/cask/cask/archive/v0.8.4.tar.gz"
|
url "https://github.com/cask/cask/archive/v0.8.4.tar.gz"
|
||||||
@ -297,7 +297,7 @@ RSpec.describe Homebrew::FormulaAuditor do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it "checks online and verifies that a standard license id with AND is the same " \
|
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
|
formula_text = <<~RUBY
|
||||||
class Cask < Formula
|
class Cask < Formula
|
||||||
url "https://github.com/cask/cask/archive/v0.8.4.tar.gz"
|
url "https://github.com/cask/cask/archive/v0.8.4.tar.gz"
|
||||||
@ -313,7 +313,7 @@ RSpec.describe Homebrew::FormulaAuditor do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it "checks online and verifies that a standard license id with WITH is the same " \
|
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
|
formula_text = <<~RUBY
|
||||||
class Cask < Formula
|
class Cask < Formula
|
||||||
url "https://github.com/cask/cask/archive/v0.8.4.tar.gz"
|
url "https://github.com/cask/cask/archive/v0.8.4.tar.gz"
|
||||||
@ -395,7 +395,7 @@ RSpec.describe Homebrew::FormulaAuditor do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it "checks online and detects that a formula-specified license is not " \
|
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
|
formula_text = <<~RUBY
|
||||||
class Cask < Formula
|
class Cask < Formula
|
||||||
url "https://github.com/cask/cask/archive/v0.8.4.tar.gz"
|
url "https://github.com/cask/cask/archive/v0.8.4.tar.gz"
|
||||||
@ -429,7 +429,7 @@ RSpec.describe Homebrew::FormulaAuditor do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it "checks online and detects that an array of license does not contain " \
|
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
|
formula_text = <<~RUBY
|
||||||
class Cask < Formula
|
class Cask < Formula
|
||||||
url "https://github.com/cask/cask/archive/v0.8.4.tar.gz"
|
url "https://github.com/cask/cask/archive/v0.8.4.tar.gz"
|
||||||
@ -446,7 +446,7 @@ RSpec.describe Homebrew::FormulaAuditor do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it "checks online and verifies that an array of license contains " \
|
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
|
formula_text = <<~RUBY
|
||||||
class Cask < Formula
|
class Cask < Formula
|
||||||
url "https://github.com/cask/cask/archive/v0.8.4.tar.gz"
|
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)
|
expect(github_latest.generate_input_values(github_urls[:repository_upload])).to eq(generated)
|
||||||
end
|
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({})
|
expect(github_latest.generate_input_values(non_github_url)).to eq({})
|
||||||
end
|
end
|
||||||
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)
|
expect(github_releases.generate_input_values(github_urls[:repository_upload])).to eq(generated)
|
||||||
end
|
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({})
|
expect(github_releases.generate_input_values(non_github_url)).to eq({})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user