Merge pull request #16922 from cho-m/test-github-spec

test/utils/github_spec: filter further to fix test failure
This commit is contained in:
Bo Anderson 2024-03-19 21:19:59 +00:00 committed by GitHub
commit 6c5da0dfe1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,9 +25,10 @@ RSpec.describe GitHub do
results = described_class.search_issues("brew search", results = described_class.search_issues("brew search",
repo: "Homebrew/legacy-homebrew", repo: "Homebrew/legacy-homebrew",
author: "MikeMcQuaid", author: "MikeMcQuaid",
is: "closed") is: "issue",
no: "milestone")
expect(results).not_to be_empty 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
end end