mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
Merge branch 'master' into registry-927
This commit is contained in:
commit
2636fe2525
40 changed files with 313 additions and 105 deletions
|
@ -27,4 +27,17 @@ class AdminDomainsTestTest < ApplicationSystemTestCase
|
|||
assert_text 'Registry lock time 2010-07-05 00:30'
|
||||
assert_text 'registryLock'
|
||||
end
|
||||
|
||||
def test_keep_a_domain
|
||||
@domain.delete_at = Time.zone.parse('2010-07-05 10:00')
|
||||
@domain.discard
|
||||
|
||||
visit edit_admin_domain_url(@domain)
|
||||
click_link_or_button 'Remove deleteCandidate status'
|
||||
@domain.reload
|
||||
|
||||
assert_not @domain.discarded?
|
||||
assert_text 'deleteCandidate status has been removed'
|
||||
assert_no_link 'Remove deleteCandidate status'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue