mirror of
https://github.com/internetee/registry.git
synced 2025-07-26 04:28:27 +02:00
Merge pull request #1083 from internetee/fix-copy-paste-error
Fix copy-paste error
This commit is contained in:
commit
e311cc7902
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ class RegistrantApiContactsTest < ApplicationIntegrationTest
|
||||||
travel_back
|
travel_back
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_root_returns_domain_list
|
def test_root_returns_contact_list
|
||||||
get '/api/v1/registrant/contacts', {}, @auth_headers
|
get '/api/v1/registrant/contacts', {}, @auth_headers
|
||||||
assert_equal(200, response.status)
|
assert_equal(200, response.status)
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ class SerializersRegistrantApiContactTest < ActiveSupport::TestCase
|
||||||
assert_equal(@contact.uuid, @json[:id])
|
assert_equal(@contact.uuid, @json[:id])
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_returns_indent_as_separate_object
|
def test_returns_ident_as_separate_object
|
||||||
expected_ident = { code: @contact.ident, type: @contact.ident_type,
|
expected_ident = { code: @contact.ident, type: @contact.ident_type,
|
||||||
country_code: @contact.ident_country_code }
|
country_code: @contact.ident_country_code }
|
||||||
assert_equal(expected_ident, @json[:ident])
|
assert_equal(expected_ident, @json[:ident])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue