asxpio/test
Sergei Poljanski bf4f270fb4
All checks were successful
Build and Deploy to Production / test (push) Successful in 26s
Build and Deploy to Production / build (push) Successful in 1m2s
Build and Deploy to Production / deploy (push) Successful in 36s
invoices: fix 500 on the admin invoice page
Replacing the paid button with the cancel/hide action block cut the old
markup at the first <% end %>, which belonged to the button's inner
if/else, leaving a stray </button></form><% end %> behind. show.erb no
longer compiled and every admin invoice page returned 500; nothing
rendered that page in tests.

Remove the leftovers, render the page in every state (pending, paid,
cancelled, hidden), and compile every view in a test so an unbalanced
template fails CI even when no test visits that page.

Assisted-by: Claude:opus-5
2026-10-10 08:47:23 +04:00
..
admin_acl_test.rb admin: per-area permissions on every route 2026-10-10 08:27:37 +04:00
admin_auth_test.rb admin: per-area permissions on every route 2026-10-10 08:27:37 +04:00
app_test.rb admin: user accounts and session login 2026-10-10 08:25:46 +04:00
bingo_test.rb admin: user accounts and session login 2026-10-10 08:25:46 +04:00
crypto_test.rb invoices: payout addresses in the database 2026-10-10 08:36:32 +04:00
fmt_test.rb invoices: multi-crypto payment support 2026-07-03 02:01:57 +04:00
invoice_cancel_test.rb invoices: fix 500 on the admin invoice page 2026-10-10 08:47:23 +04:00
invoice_test.rb invoices: multi-crypto payment support 2026-07-03 02:01:57 +04:00
payout_address_test.rb invoices: payout addresses in the database 2026-10-10 08:36:32 +04:00
rate_limit_test.rb tests: minitest + rack-test suite, bin/test with ephemeral Postgres 2026-07-02 17:32:14 +04:00
templates_test.rb invoices: fix 500 on the admin invoice page 2026-10-10 08:47:23 +04:00
test_helper.rb admin: user accounts and session login 2026-10-10 08:25:46 +04:00
users_admin_test.rb admin: let superusers rename accounts 2026-10-10 08:45:20 +04:00