test/utils/github_spec: filter further to fix test failure

Signed-off-by: Michael Cho <michael@michaelcho.dev>
This commit is contained in:
Michael Cho 2024-03-19 17:01:04 -04:00
parent 6b073239f5
commit d04c5ad4f8
No known key found for this signature in database
GPG Key ID: 55E85E28A7CD1E85

View File

@ -25,9 +25,10 @@ RSpec.describe GitHub do
results = described_class.search_issues("brew search",
repo: "Homebrew/legacy-homebrew",
author: "MikeMcQuaid",
is: "closed")
is: "issue",
no: "milestone")
expect(results).not_to be_empty
expect(results.first["title"]).to eq("Shall we run `brew update` automatically?")
expect(results.first["title"]).to eq("Shall we move more things to taps?")
end
end