mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
Let registrars change IBAN
This commit is contained in:
parent
633aebdb80
commit
02c37a1c31
5 changed files with 20 additions and 3 deletions
|
@ -8,15 +8,19 @@ class RegistrarAccountTest < ApplicationSystemTestCase
|
|||
|
||||
def test_updates_account
|
||||
new_billing_email = 'new@registrar.test'
|
||||
new_iban = 'GB77BARC20201530093459'
|
||||
assert_not_equal new_billing_email, @registrar.billing_email
|
||||
assert_not_equal new_iban, @registrar.iban
|
||||
|
||||
visit registrar_account_path
|
||||
click_on 'Edit'
|
||||
|
||||
fill_in 'Billing email', with: new_billing_email
|
||||
fill_in 'IBAN', with: new_iban
|
||||
click_on 'Save changes'
|
||||
|
||||
assert_text 'Your account has been updated'
|
||||
assert_text new_billing_email
|
||||
assert_text new_iban
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue