test/metrics/test_reviews.rb in cobench-0.0.36 vs test/metrics/test_reviews.rb in cobench-0.0.37
- old
+ new
@@ -31,7 +31,9 @@
def test_real
api = Octokit::Client.new
m = Cobench::Reviews.new(api, 'graur', { days: 2 })
ms = m.take(Loog::VERBOSE)
assert !ms.empty?
+ rescue Octokit::TooManyRequests
+ skip
end
end