mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
Hide method
This commit is contained in:
parent
42e8f86dae
commit
4894b39f0f
8 changed files with 57 additions and 85 deletions
|
@ -13,7 +13,7 @@ class AdminAreaDomainDetailsTest < ApplicationSystemTestCase
|
|||
visit admin_domain_url(@domain)
|
||||
assert_no_css 'span.label.label-warning', text: 'deleteCandidate'
|
||||
|
||||
@domain.discard
|
||||
@domain.update!(statuses: [DomainStatus::DELETE_CANDIDATE])
|
||||
|
||||
visit admin_domain_url(@domain)
|
||||
assert_css 'span.label.label-warning', text: 'deleteCandidate'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue