Merge pull request #8544 from nandahkrishna/remove-livecheck-test

livecheck: remove test for livecheck_formulae
This commit is contained in:
Mike McQuaid 2020-08-31 12:33:30 +01:00 committed by GitHub
commit 44c826eae1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,16 +145,4 @@ describe Homebrew::Livecheck do
.to eq("https://github.com/Homebrew/brew.git")
end
end
describe "::livecheck_formulae", :needs_network do
it "checks for the latest versions of the formulae" do
allow(args).to receive(:debug?).and_return(true)
allow(args).to receive(:newer_only?).and_return(false)
expectation = expect { livecheck.livecheck_formulae([f], args) }
expectation.to output(/Strategy:.*PageMatch/).to_stdout
expectation.to output(/test : 0\.0\.1 ==> (\d+(?:\.\d+)+)/).to_stdout
.and not_to_output.to_stderr
end
end
end