Fix failing test in NewInvoicePayment

Probably with the upgrade of Rails from 4.2 to 5 the ids are no longer
generated automatically in the views, but the functionality still
worked as designed previously.
This commit is contained in:
Maciej Szlosarczyk 2020-05-21 14:50:30 +03:00 committed by Alex Sherman
parent 6597e72bff
commit 09ac0d30aa
2 changed files with 3 additions and 3 deletions

View file

@ -3,5 +3,5 @@
- locals[:payment_channels].each do |meth|
- meth = meth.strip
= link_to registrar_payment_with_path(meth, invoice_id: params[:id]) do
= link_to registrar_payment_with_path(meth, invoice_id: params[:id]), id: meth do
= image_tag("#{meth}.png")