Sha256: d1517ff7d711c852141f1f47555b0eb90204feb6fdcf9fd8110c50c6a41cf97e

Contents?: true

Size: 636 Bytes

Versions: 23

Compression:

Stored size: 636 Bytes

Contents

require 'spec_helper'
require_relative '../lib/adyen/errors'

RSpec.describe Adyen::Payment, service: 'recurring service' do
  # client instance to be used in dynamically generated tests
  client = create_client(:basic)

  # methods / values to test for
  # format is defined in spec_helper
  test_sets = [
    ['list_recurring_details', 'creationDate', '2017-03-01T11:53:11+01:00'],
    ['disable', 'response', '[detail-successfully-disabled]'],
    ['create_permit', 'pspReference', '8815260599791117'],
    ['schedule_account_updater', 'result', 'Success']
  ]

  generate_tests(client, 'Recurring', test_sets, client.recurring)
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
adyen-ruby-api-library-7.1.0 spec/recurring_spec.rb
adyen-ruby-api-library-7.0.3 spec/recurring_spec.rb
adyen-ruby-api-library-7.0.2 spec/recurring_spec.rb