Sha256: f3572c38b52aab68227d70723226c001ccc475bafd11b28f562384aeb0bbdff0

Contents?: true

Size: 676 Bytes

Versions: 9

Compression:

Stored size: 676 Bytes

Contents

require "spec_helper"

RSpec.describe Adyen::Dispute, service: "dispute 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 = [
    ["retrieve_applicable_defense_reasons", "disputeServiceResult", { "success" => true }],
    ["supply_defense_document", "disputeServiceResult", { "success" => true }],
    ["delete_dispute_defense_document", "disputeServiceResult", { "success" => true }],
    ["defend_dispute", "disputeServiceResult", { "success" => true }],
  ]

  generate_tests(client, "DisputeService", test_sets, client.dispute)
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
adyen-ruby-api-library-7.0.1 spec/dispute_spec.rb
adyen-ruby-api-library-7.0.0 spec/dispute_spec.rb
adyen-ruby-api-library-6.3.0 spec/dispute_spec.rb
adyen-ruby-api-library-6.2.0 spec/dispute_spec.rb
adyen-ruby-api-library-6.1.0 spec/dispute_spec.rb
adyen-ruby-api-library-6.0.0 spec/dispute_spec.rb
adyen-ruby-api-library-5.1.0 spec/dispute_spec.rb
adyen-ruby-api-library-5.0.0 spec/dispute_spec.rb
adyen-ruby-api-library-4.4.0 spec/dispute_spec.rb