mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 13:06:18 +02:00
Merge pull request #2812 from internetee/update_test_coverage/reserved_domains_test
added new tests for reserved_domains_test
This commit is contained in:
commit
cfe1059c5f
1 changed files with 13 additions and 0 deletions
|
@ -49,4 +49,17 @@ class AdminAreaReservedDomainsIntegrationTest < JavaScriptApplicationSystemTestC
|
||||||
response.headers['Content-Disposition']
|
response.headers['Content-Disposition']
|
||||||
assert_not_empty response.body
|
assert_not_empty response.body
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test_release_to_auction
|
||||||
|
visit admin_reserved_domains_path
|
||||||
|
|
||||||
|
first("input[type='checkbox']").set(true)
|
||||||
|
|
||||||
|
click_on 'Send to the auction list'
|
||||||
|
|
||||||
|
assert_current_path admin_auctions_path
|
||||||
|
|
||||||
|
assert_text 'reserved.test'
|
||||||
|
assert_text 'started'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue