attestation_spec: style fix

Signed-off-by: William Woodruff <william@yossarian.net>
This commit is contained in:
William Woodruff 2024-06-06 11:30:11 -04:00
parent 8d0e6eafc3
commit 83caa42876
No known key found for this signature in database

View File

@ -12,7 +12,8 @@ RSpec.describe Homebrew::Attestation do
let(:fake_bottle_url) { "https://example.com/#{fake_bottle_filename}" }
let(:fake_bottle_tag) { instance_double(Utils::Bottles::Tag, to_sym: :faketag) }
let(:fake_bottle) do
instance_double(Bottle, cached_download:, filename: fake_bottle_filename, url: fake_bottle_url, tag: fake_bottle_tag)
instance_double(Bottle, cached_download:, filename: fake_bottle_filename, url: fake_bottle_url,
tag: fake_bottle_tag)
end
let(:fake_result_invalid_json) { instance_double(SystemCommand::Result, stdout: "\"invalid JSON") }
let(:fake_result_json_resp) do