Skip to content
Snippets Groups Projects
Unverified Commit 3cab6042 authored by Nanda H Krishna's avatar Nanda H Krishna Committed by GitHub
Browse files

livecheck: update URL in test

parent 06215636
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment