livecheck: update URL in test
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
This commit is contained in:
parent
062156365b
commit
3cab6042d8
@ -138,11 +138,11 @@ describe Homebrew::Livecheck do
|
||||
end
|
||||
|
||||
describe "::preprocess_url" do
|
||||
let(:url) { "https://github.s3.amazonaws.com/Homebrew/brew/releases/latest" }
|
||||
let(:url) { "https://github.s3.amazonaws.com/downloads/Homebrew/brew/1.0.0.tar.gz" }
|
||||
|
||||
it "returns the preprocessed URL for livecheck to use" do
|
||||
expect(livecheck.preprocess_url(url))
|
||||
.to eq("https://github.com/Homebrew/brew/releases/latest")
|
||||
.to eq("https://github.com/Homebrew/brew.git")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user