mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 10:45:58 +02:00
Fix i18n for the invoice title
This commit is contained in:
parent
960dba90c4
commit
6482e76511
4 changed files with 9 additions and 2 deletions
|
@ -13,6 +13,11 @@ class ListInvoicesTest < ApplicationSystemTestCase
|
|||
assert_text "Your current account balance is 100,00 EUR"
|
||||
end
|
||||
|
||||
def test_shows_invoice_title
|
||||
visit registrar_invoices_path
|
||||
assert_text 'Invoice', minimum: 2
|
||||
end
|
||||
|
||||
def test_shows_invoice_owned_by_current_user
|
||||
owning_registrar = registrars(:bestnames)
|
||||
assert_equal owning_registrar, @user.registrar
|
||||
|
@ -32,4 +37,4 @@ class ListInvoicesTest < ApplicationSystemTestCase
|
|||
|
||||
assert_no_text @invoice.to_s
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue