diff options
| author | Ben Muschol | 2017-08-17 13:44:18 -0400 |
|---|---|---|
| committer | Ben Muschol | 2017-08-17 13:44:18 -0400 |
| commit | 564a06dfbb711a995558c64c55b353d1fdfcb473 (patch) | |
| tree | f4813ab69ea082196d4b1d1cea344c32569fa412 | |
| parent | e096836b7b46e605fb4d1c10c632157dd6b11186 (diff) | |
| download | brew-564a06dfbb711a995558c64c55b353d1fdfcb473.tar.bz2 | |
Fix typo in spec
| -rw-r--r-- | Library/Homebrew/test/utils/github_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/utils/github_spec.rb b/Library/Homebrew/test/utils/github_spec.rb index 151b6430d..9322898ee 100644 --- a/Library/Homebrew/test/utils/github_spec.rb +++ b/Library/Homebrew/test/utils/github_spec.rb @@ -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 |
