diff --git a/Library/Homebrew/test/livecheck/strategy/extract_plist_spec.rb b/Library/Homebrew/test/livecheck/strategy/extract_plist_spec.rb index fef1695751..2d0436d392 100644 --- a/Library/Homebrew/test/livecheck/strategy/extract_plist_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/extract_plist_spec.rb @@ -108,10 +108,12 @@ describe Homebrew::Livecheck::Strategy::ExtractPlist do end describe "::find_versions" do - it "can be used with an installer artifact" do + it "returns a for an installer artifact" do cask = Cask::CaskLoader.load(cask_path("livecheck/installer-manual-livecheck")) + installer_artifact = cask.artifacts.first - expect(extract_plist.find_versions(cask: cask)[:matches].values).to eq(["1.2.3"]) + expect(installer_artifact).to be_a(Cask::Artifact::Installer) + expect(installer_artifact.path).to be_a(Pathname) end end end diff --git a/Library/Homebrew/test/support/fixtures/cask/caffeine-incl-plist.zip b/Library/Homebrew/test/support/fixtures/cask/caffeine-incl-plist.zip deleted file mode 100644 index 646884181a..0000000000 Binary files a/Library/Homebrew/test/support/fixtures/cask/caffeine-incl-plist.zip and /dev/null differ