Fix cask/info_spec

This commit is contained in:
Douglas Eichelberger 2025-09-07 13:31:50 -07:00
parent 2b33830d50
commit 4609bb60a3
No known key found for this signature in database
GPG Key ID: F90193CBD547EB81

View File

@ -169,7 +169,7 @@ RSpec.describe Cask::Info, :cask do
cask = Cask::CaskLoader.load("local-transmission")
time = 1_720_189_863
tab = Cask::Tab.new(loaded_from_api: true, tabfile: TEST_FIXTURE_DIR/"cask_receipt.json", time:)
tab = Cask::Tab.new("loaded_from_api" => true, "tabfile" => TEST_FIXTURE_DIR/"cask_receipt.json", "time" => time)
expect(cask).to receive(:installed?).and_return(true)
expect(cask).to receive(:caskroom_path).and_return(caskroom)
expect(cask).to receive(:installed_version).and_return("2.61")