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-10.0.1 spec/recurring_spec.rb
adyen-ruby-api-library-10.0.0 spec/recurring_spec.rb
adyen-ruby-api-library-9.9.0 spec/recurring_spec.rb
adyen-ruby-api-library-9.8.0 spec/recurring_spec.rb
adyen-ruby-api-library-9.7.1 spec/recurring_spec.rb
adyen-ruby-api-library-9.7.0 spec/recurring_spec.rb
adyen-ruby-api-library-9.6.0 spec/recurring_spec.rb
adyen-ruby-api-library-9.5.2 spec/recurring_spec.rb
adyen-ruby-api-library-9.5.1 spec/recurring_spec.rb
adyen-ruby-api-library-9.5.0 spec/recurring_spec.rb
adyen-ruby-api-library-9.3.0 spec/recurring_spec.rb
adyen-ruby-api-library-9.2.0 spec/recurring_spec.rb
adyen-ruby-api-library-9.1.0 spec/recurring_spec.rb
adyen-ruby-api-library-9.0.0 spec/recurring_spec.rb
adyen-ruby-api-library-8.0.1 spec/recurring_spec.rb
adyen-ruby-api-library-8.0.0 spec/recurring_spec.rb
adyen-ruby-api-library-8.0.0.pre.beta.1 spec/recurring_spec.rb
adyen-ruby-api-library-7.3.1 spec/recurring_spec.rb
adyen-ruby-api-library-7.3.0 spec/recurring_spec.rb
adyen-ruby-api-library-7.2.0 spec/recurring_spec.rb