From e3276d288c6c47a4694402e2395b6554ae3f09e5 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Thu, 21 Feb 2019 15:53:59 +0200 Subject: [PATCH 1/2] Fix copy-paste error --- test/integration/api/registrant/registrant_api_contacts_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/api/registrant/registrant_api_contacts_test.rb b/test/integration/api/registrant/registrant_api_contacts_test.rb index 97f0c8886..91fa9594d 100644 --- a/test/integration/api/registrant/registrant_api_contacts_test.rb +++ b/test/integration/api/registrant/registrant_api_contacts_test.rb @@ -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) From 2c5093b29ba0df088d8f48805adb87c30f54475c Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Tue, 26 Feb 2019 13:57:40 +0200 Subject: [PATCH 2/2] Fix typo --- test/lib/serializers/registrant_api/contact_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/serializers/registrant_api/contact_test.rb b/test/lib/serializers/registrant_api/contact_test.rb index cace77549..165c91e00 100644 --- a/test/lib/serializers/registrant_api/contact_test.rb +++ b/test/lib/serializers/registrant_api/contact_test.rb @@ -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])