diff --git a/Library/Homebrew/test/cask/audit_spec.rb b/Library/Homebrew/test/cask/audit_spec.rb index 23d0009db9..168230fe31 100644 --- a/Library/Homebrew/test/cask/audit_spec.rb +++ b/Library/Homebrew/test/cask/audit_spec.rb @@ -613,46 +613,46 @@ describe Cask::Audit, :cask do end end - describe "hosting with appcast checks" do - let(:message) { /please add an appcast/ } + describe "hosting with livecheck checks" do + let(:message) { /please add a livecheck/ } - context "when the download does not use hosting with an appcast" do + context "when the download does not use hosting with a livecheck" do let(:cask_token) { "basic-cask" } it { is_expected.not_to fail_with(message) } end - context "when the download is hosted on SourceForge and has an appcast" do + context "when the download is hosted on SourceForge and has a livecheck" do let(:cask_token) { "sourceforge-with-appcast" } it { is_expected.not_to fail_with(message) } end - context "when the download is hosted on SourceForge and does not have an appcast" do + context "when the download is hosted on SourceForge and does not have a livecheck" do let(:cask_token) { "sourceforge-correct-url-format" } it { is_expected.to fail_with(message) } end - context "when the download is hosted on DevMate and has an appcast" do + context "when the download is hosted on DevMate and has a livecheck" do let(:cask_token) { "devmate-with-appcast" } it { is_expected.not_to fail_with(message) } end - context "when the download is hosted on DevMate and does not have an appcast" do + context "when the download is hosted on DevMate and does not have a livecheck" do let(:cask_token) { "devmate-without-appcast" } it { is_expected.to fail_with(message) } end - context "when the download is hosted on HockeyApp and has an appcast" do + context "when the download is hosted on HockeyApp and has a livecheck" do let(:cask_token) { "hockeyapp-with-appcast" } it { is_expected.not_to fail_with(message) } end - context "when the download is hosted on HockeyApp and does not have an appcast" do + context "when the download is hosted on HockeyApp and does not have a livecheck" do let(:cask_token) { "hockeyapp-without-appcast" } it { is_expected.to fail_with(message) }