mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 04:58:29 +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']
|
||||
assert_not_empty response.body
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue