internetee-registry/test/system/registrant_area/layout_test.rb
2019-09-03 18:40:52 +03:00

15 lines
382 B
Ruby

require 'application_system_test_case'
class RegistrantLayoutTest < ApplicationSystemTestCase
def setup
super
sign_in(users(:registrant))
end
def test_has_link_to_rest_whois_and_internet_ee
visit registrant_domains_url
assert(has_link?('Internet.ee', href: 'https://internet.ee'))
assert(has_link?('WHOIS', href: 'https://whois.internet.ee'))
end
end