mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 11:16:00 +02:00
Add domain transfer test
This commit is contained in:
parent
e11fe95227
commit
66afb4c56b
1 changed files with 12 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue