diff --git a/Library/Homebrew/test/cask/cmd/list_spec.rb b/Library/Homebrew/test/cask/cmd/list_spec.rb index 3ab174f02d..4d8f9a958b 100644 --- a/Library/Homebrew/test/cask/cmd/list_spec.rb +++ b/Library/Homebrew/test/cask/cmd/list_spec.rb @@ -97,7 +97,7 @@ describe Cask::Cmd::List, :cask do ], "desc": null, "homepage": "https://brew.sh/", - "url": "file:///usr/local/Homebrew/Library/Homebrew/test/support/fixtures/cask/caffeine.zip", + "url": "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip", "appcast": null, "version": "1.2.3", "installed": "1.2.3", @@ -124,7 +124,7 @@ describe Cask::Cmd::List, :cask do ], "desc": "BitTorrent client", "homepage": "https://transmissionbt.com/", - "url": "file:///usr/local/Homebrew/Library/Homebrew/test/support/fixtures/cask/transmission-2.61.dmg", + "url": "file://#{TEST_FIXTURE_DIR}/cask/transmission-2.61.dmg", "appcast": null, "version": "2.61", "installed": "2.61",