mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 22:54:47 +02:00
added test for total count
This commit is contained in:
parent
d19bb69342
commit
951d95a3e8
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ class RegistrantApiDomainsTest < ApplicationIntegrationTest
|
|||
assert_equal(200, response.status)
|
||||
|
||||
response_json = JSON.parse(response.body, symbolize_names: true)
|
||||
assert_equal response_json[:domains].length, 4
|
||||
assert_equal response_json[:domains].length, response_json[:count]
|
||||
assert_equal response_json[:total], 5
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue