fixed test

This commit is contained in:
dinsmol 2021-09-15 12:06:55 +03:00
parent 15c606f76a
commit 6171e38eb2

View file

@ -67,7 +67,7 @@ class DomainVersionsTest < ApplicationSystemTestCase
find('.btn.btn-primary').click find('.btn.btn-primary').click
assert_equal current_url, assert_equal current_url,
'http://www.example.com/admin/domain_versions?q[name]=&q[registrant]=John&q[registrar]=&q[event]=&results_per_page=' 'http://www.example.com/admin/domain_versions?q[name]=&q[registrant]=John&q[registrar]=&q[event]=&q[created_at_gteq]=&q[created_at_lteq]=&results_per_page='
end end
def test_search_registrar_param def test_search_registrar_param
@ -76,7 +76,7 @@ class DomainVersionsTest < ApplicationSystemTestCase
find('.btn.btn-primary').click find('.btn.btn-primary').click
assert_equal current_url, assert_equal current_url,
'http://www.example.com/admin/domain_versions?q[name]=&q[registrant]=&q[registrar]=Best+Names&q[event]=&results_per_page=' 'http://www.example.com/admin/domain_versions?q[name]=&q[registrant]=&q[registrar]=Best+Names&q[event]=&q[created_at_gteq]=&q[created_at_lteq]=&results_per_page='
end end
def test_search_name_param def test_search_name_param
@ -85,7 +85,7 @@ class DomainVersionsTest < ApplicationSystemTestCase
find('.btn.btn-primary').click find('.btn.btn-primary').click
assert_equal current_url, assert_equal current_url,
'http://www.example.com/admin/domain_versions?q[name]=shop.test&q[registrant]=&q[registrar]=&q[event]=&results_per_page=' 'http://www.example.com/admin/domain_versions?q[name]=shop.test&q[registrant]=&q[registrar]=&q[event]=&q[created_at_gteq]=&q[created_at_lteq]=&results_per_page='
end end
def test_download_domain_history def test_download_domain_history