mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 22:54:47 +02:00
Remove link to WHOIS controller from registrant portal
This commit is contained in:
parent
13fe452c73
commit
f1808cfcf1
3 changed files with 101 additions and 54 deletions
17
test/integration/registrant/layout_test.rb
Normal file
17
test/integration/registrant/layout_test.rb
Normal file
|
@ -0,0 +1,17 @@
|
|||
require 'test_helper'
|
||||
|
||||
class RegistrantLayoutTest < ActionDispatch::IntegrationTest
|
||||
def setup
|
||||
super
|
||||
login_as(users(:registrant))
|
||||
|
||||
Setting.days_to_keep_business_registry_cache = 1
|
||||
travel_to Time.zone.parse('2010-07-05')
|
||||
end
|
||||
|
||||
def test_has_link_to_rest_whois
|
||||
visit registrant_domains_url
|
||||
assert(has_link?('Internet.ee', href: 'https://internet.ee'))
|
||||
refute(has_link?('WHOIS', href: registrant_whois_path))
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue