From 81510165311b8ef4a59cdad02626edec291d915f Mon Sep 17 00:00:00 2001 From: nandahkrishna Date: Mon, 31 Aug 2020 16:37:37 +0530 Subject: [PATCH] livecheck: remove test for livecheck_formulae --- Library/Homebrew/test/livecheck/livecheck_spec.rb | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Library/Homebrew/test/livecheck/livecheck_spec.rb b/Library/Homebrew/test/livecheck/livecheck_spec.rb index ac8c6b77e9..47492dad89 100644 --- a/Library/Homebrew/test/livecheck/livecheck_spec.rb +++ b/Library/Homebrew/test/livecheck/livecheck_spec.rb @@ -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