spec/client_spec.rb in adyen-ruby-api-library-7.0.2 vs spec/client_spec.rb in adyen-ruby-api-library-7.0.3
- old
+ new
@@ -23,13 +23,13 @@
expect(@shared_values[:client].checkout.version)
.to eq(@shared_values[:version])
end
it 'fails payments call without WS user and password' do
- expect { @shared_values[:client].payment.general_api.authorise('{}') }
+ expect { @shared_values[:client].payment.authorise('{}') }
.to raise_error(Adyen::AuthenticationError)
@shared_values[:client].ws_user = @shared_values[:ws_user]
- expect { @shared_values[:client].payment.general_api.authorise('{}') }
+ expect { @shared_values[:client].payment.authorise('{}') }
.to raise_error(Adyen::AuthenticationError)
end
it 'fails a checkout call without api key' do
expect { @shared_values[:client].checkout.payments_api.payment_methods('{}') }