From 66afb4c56b043b0f1093ef69ef1fa8eeb9718dc1 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Fri, 19 Jan 2018 16:36:38 +0200 Subject: [PATCH] Add domain transfer test --- test/integration/registrar/domains_test.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/integration/registrar/domains_test.rb b/test/integration/registrar/domains_test.rb index a8a84acc6..97c1780e9 100644 --- a/test/integration/registrar/domains_test.rb +++ b/test/integration/registrar/domains_test.rb @@ -17,4 +17,16 @@ class RegistrarDomainsTest < ActionDispatch::IntegrationTest click_button 'Download as CSV' assert_equal expected_csv, page.body 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