Skip to content

Commit 9e778bc

Browse files
committed
Renaming test to match service names
1 parent c22d33d commit 9e778bc

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

spec/data_protection_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
require 'spec_helper'
22

3-
RSpec.describe Adyen::DataProtection, service: 'Data Protection Service' do
3+
RSpec.describe Adyen::DataProtection, service: 'DataProtection' do
44
# client instance to be used in dynamically generated tests
55
client = create_client(:basic)
66

@@ -10,5 +10,5 @@
1010
%w[request_subject_erasure result SUCCESS]
1111
]
1212

13-
generate_tests(client, 'DataProtectionService', test_sets, client.data_protection.data_protection_api)
13+
generate_tests(client, 'DataProtection', test_sets, client.data_protection.data_protection_api)
1414
end

spec/disputes_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
require 'spec_helper'
22

3-
RSpec.describe Adyen::Disputes, service: 'disputes service' do
3+
RSpec.describe Adyen::Disputes, service: 'Disputes' do
44
before(:all) do
55
@shared_values = {
66
client: create_client(:api_key),
@@ -11,9 +11,9 @@
1111
# methods / values to test for
1212
# format is defined in spec_helper
1313
it 'makes a retrieve_applicable_defense_reasons call' do
14-
request_body = JSON.parse(json_from_file('mocks/requests/DisputesService/retrieve_applicable_defense_reasons.json'))
14+
request_body = JSON.parse(json_from_file('mocks/requests/Disputes/retrieve_applicable_defense_reasons.json'))
1515

16-
response_body = json_from_file('mocks/responses/DisputesService/retrieve_applicable_defense_reasons.json')
16+
response_body = json_from_file('mocks/responses/Disputes/retrieve_applicable_defense_reasons.json')
1717

1818
url = @shared_values[:client].service_url(@shared_values[:service], 'retrieveApplicableDefenseReasons',
1919
@shared_values[:client].disputes.version)

0 commit comments

Comments
 (0)