Skip to content
Snippets Groups Projects
Unverified Commit 4def45f4 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

utils/github_spec: use author that exists.

parent 056dd588
No related branches found
No related tags found
No related merge requests found
......@@ -31,9 +31,12 @@ describe GitHub do
describe "::search_issues", :needs_network do
it "queries GitHub issues with the passed parameters" do
results = subject.search_issues("brew search", repo: "Homebrew/brew", author: "avetamine", is: "closed")
results = subject.search_issues("brew search",
repo: "Homebrew/legacy-homebrew",
author: "MikeMcQuaid",
is: "closed")
expect(results).not_to be_empty
expect(results.last["title"]).to eq("brew search : 422 Unprocessable Entity")
expect(results.first["title"]).to eq("Shall we run `brew update` automatically?")
end
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment