Fix typo in spec

This commit is contained in:
Ben Muschol 2017-08-17 13:44:18 -04:00
parent e096836b7b
commit 564a06dfbb

View File

@ -32,7 +32,7 @@ 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")
expect(results.count).not_to be_empty
expect(results).not_to be_empty
expect(results.last["title"]).to eq("brew search : 422 Unprocessable Entity")
end
end