mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 02:35:57 +02:00
Refactor confirmation url view in registrant area
This commit is contained in:
parent
aad39fd2b7
commit
1dfc618228
7 changed files with 32 additions and 20 deletions
|
@ -62,4 +62,15 @@ class RegistrantAreaDomainDetailsTest < ApplicationSystemTestCase
|
|||
assert_no_text 'metro.test'
|
||||
end
|
||||
end
|
||||
|
||||
def test_confirmation_url
|
||||
@domain.update!(registrant_verification_token: 'a01',
|
||||
pending_json: { new_registrant_email: 'any' },
|
||||
statuses: [DomainStatus::PENDING_UPDATE])
|
||||
|
||||
visit registrant_domain_url(@domain)
|
||||
click_on 'pendingUpdate'
|
||||
|
||||
assert_field nil, with: registrant_domain_update_confirm_url(@domain, token: 'a01')
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue