Revert changes to cask/cmd specs

This commit is contained in:
Douglas Eichelberger 2023-03-03 08:30:57 -08:00
parent eb23a2c44a
commit e4e20fc78f

View File

@ -10,7 +10,7 @@ describe Cask::Cmd::Audit, :cask do
describe "selection of Casks to audit" do
it "audits all Casks if no tokens are given" do
allow(Cask::Cask).to receive(:all).and_return([cask, cask])
allow(Cask::Cask).to receive(:to_a).and_return([cask, cask])
expect(Cask::Auditor).to receive(:audit).twice.and_return(result)