Skip to content

Commit d172442

Browse files
committed
Update test description
1 parent 1831771 commit d172442

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/client_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@
327327
end
328328
end
329329

330-
it 'raises FormatError on 422 response and checks content' do
330+
it 'raises ValidationError on 422 response and checks content' do
331331
client = Adyen::Client.new(api_key: 'api_key', env: :test)
332332
mock_faraday_connection = double(Faraday::Connection)
333333
error_body = {
@@ -353,7 +353,7 @@
353353
end
354354
end
355355

356-
it 'raises FormatError on 500 response and checks content' do
356+
it 'raises ServerError on 500 response and checks content' do
357357
client = Adyen::Client.new(api_key: 'api_key', env: :test)
358358
mock_faraday_connection = double(Faraday::Connection)
359359
error_body = {

0 commit comments

Comments
 (0)