Improve rspec readability
This commit is contained in:
parent
7a93638105
commit
e096836b7b
@ -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).to be > 1
|
||||
expect(results.count).not_to be_empty
|
||||
expect(results.last["title"]).to eq("brew search : 422 Unprocessable Entity")
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user