From c219040d0dbf6ef2b6a8d296406559ced52021ac Mon Sep 17 00:00:00 2001 From: Ryan Rotter Date: Sun, 30 Jun 2024 22:35:04 -0400 Subject: [PATCH] Update Library/Homebrew/test/search_spec.rb Co-authored-by: Kevin --- Library/Homebrew/test/search_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/test/search_spec.rb b/Library/Homebrew/test/search_spec.rb index 11f5d2c9dc7a53..caaf34b652ffd1 100644 --- a/Library/Homebrew/test/search_spec.rb +++ b/Library/Homebrew/test/search_spec.rb @@ -63,11 +63,11 @@ let(:args) { instance_double("args") } context "with api" do - def api_formulae + let(:api_formulae) do { "testball" => { "desc" => "Some test" } } end - def api_casks + let(:api_casks) do { "testball" => { "desc" => "Some test", "name" => ["Test Ball"] } } end