bingo: "63 MW (design)" in datacenter page prose
All checks were successful
Build and Deploy to Production / test (push) Successful in 26s
Build and Deploy to Production / build (push) Successful in 1m3s
Build and Deploy to Production / deploy (push) Successful in 39s

The facts sentence reused the dialog's compact label, so it read
"Capacity: 63 MW · design." Put the capacity type in parentheses
when it appears in prose.

Assisted-by: Claude:opus-5
This commit is contained in:
Sergei Poljanski 2026-10-10 09:45:49 +04:00
commit a432a003a8
Signed by: asxpi
GPG key ID: 4F8851660FA4121B
2 changed files with 10 additions and 1 deletions

View file

@ -248,6 +248,9 @@ class BingoTest < Minitest::Test
crumbs = ld['@graph'].find { |n| n['@type'] == 'BreadcrumbList' }
assert_equal 'https://example.org/en', crumbs['itemListElement'][0]['item']
@dcs[3].update(mw_type: 'design')
get '/en/dc/dc-4'
assert_includes last_response.body, 'Capacity: 4 MW (design).'
get '/uk/dc/dc-1'
assert_includes last_response.body, '<title>ЦОД 1 (Москва) — інциденти ЦОДу | Бінго ЦОДів</title>'
refute_includes last_response.body, 'rel="prev"'