DEV: make the build less flaky (#29288)

We only care that there are other results, not that there are a specific amount.
This commit is contained in:
Régis Hanol 2024-10-18 20:07:55 +02:00 committed by GitHub
parent 97ba39e60f
commit 1a66556f1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ RSpec.describe SvgSpriteController do
data = response.parsed_body
beer_icon = response.parsed_body.find { |i| i["id"] == "beer-mug-empty" }
expect(beer_icon).to be nil
expect(data.length).to eq(250)
expect(data.length).to be > 0
end
end