Merge pull request #1083 from internetee/fix-copy-paste-error

Fix copy-paste error
This commit is contained in:
Timo Võhmar 2019-02-27 19:57:17 +02:00 committed by GitHub
commit e311cc7902
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ class RegistrantApiContactsTest < ApplicationIntegrationTest
travel_back
end
def test_root_returns_domain_list
def test_root_returns_contact_list
get '/api/v1/registrant/contacts', {}, @auth_headers
assert_equal(200, response.status)

View file

@ -12,7 +12,7 @@ class SerializersRegistrantApiContactTest < ActiveSupport::TestCase
assert_equal(@contact.uuid, @json[:id])
end
def test_returns_indent_as_separate_object
def test_returns_ident_as_separate_object
expected_ident = { code: @contact.ident, type: @contact.ident_type,
country_code: @contact.ident_country_code }
assert_equal(expected_ident, @json[:ident])