aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/utils/github_spec.rb
diff options
context:
space:
mode:
authorBen Muschol2017-08-17 11:57:58 -0400
committerBen Muschol2017-08-17 11:57:58 -0400
commite096836b7b46e605fb4d1c10c632157dd6b11186 (patch)
tree0053b4b2c4a4340168349dc65252a49a07e58b71 /Library/Homebrew/test/utils/github_spec.rb
parent7a93638105474c8e17a115dd2c16ae52f8f6806f (diff)
downloadbrew-e096836b7b46e605fb4d1c10c632157dd6b11186.tar.bz2
Improve rspec readability
Diffstat (limited to 'Library/Homebrew/test/utils/github_spec.rb')
-rw-r--r--Library/Homebrew/test/utils/github_spec.rb2
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 7bfb4a930..151b6430d 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).to be > 1
+ expect(results.count).not_to be_empty
expect(results.last["title"]).to eq("brew search : 422 Unprocessable Entity")
end
end