Add domain transfer test

This commit is contained in:
Artur Beljajev 2018-01-19 16:36:38 +02:00
parent e11fe95227
commit 66afb4c56b

View file

@ -17,4 +17,16 @@ class RegistrarDomainsTest < ActionDispatch::IntegrationTest
click_button 'Download as CSV' click_button 'Download as CSV'
assert_equal expected_csv, page.body assert_equal expected_csv, page.body
end end
def test_transfers_domain
travel_to Time.zone.parse('2010-07-05 10:30:00')
visit registrar_domains_url
click_link 'Transfer'
fill_in 'Name', with: 'shop.test'
fill_in 'Password', with: '65078d5'
click_button 'Transfer'
assert_text 'Transfer requested at: 2010-07-05 10:30:00'
end
end end