mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Eliminate mystery guest
This commit is contained in:
parent
90ed23f64d
commit
c2e73e00e1
2 changed files with 8 additions and 13 deletions
|
@ -5,10 +5,17 @@ class AdminAreaRegistrarDetailsTest < ApplicationSystemTestCase
|
|||
|
||||
setup do
|
||||
sign_in users(:admin)
|
||||
@registrar = registrars(:complete)
|
||||
@registrar = registrars(:bestnames)
|
||||
end
|
||||
|
||||
def test_registrar_details
|
||||
@registrar.accounting_customer_code = 'US0001'
|
||||
@registrar.vat_no = 'US12345'
|
||||
@registrar.vat_rate = 5
|
||||
@registrar.language = 'en'
|
||||
@registrar.billing_email = 'billing@bestnames.test'
|
||||
@registrar.save(validate: false)
|
||||
|
||||
visit admin_registrar_path(@registrar)
|
||||
assert_text 'Accounting customer code US0001'
|
||||
assert_text 'VAT number US12345'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue