Sha256: afbe52a8a9b13d55a95b6c5364864bb0b4fc38a0a087286fdc474275e99a9d30

Contents?: true

Size: 643 Bytes

Versions: 10

Compression:

Stored size: 643 Bytes

Contents

require "spec_helper"

RSpec.describe Adyen::PosTerminalManagement, service: "POS Terminal Management 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 = [
    ["find_terminal", "merchantAccount", "TestMerchant"],
    ["get_terminals_under_account", "merchantAccounts", [{ "merchantAccount" => "TestMerchant", "inStoreTerminals" => ["P400Plus-123456789"] }]],
    ["assign_terminals", "results", { "e285-123456789" => "Done" }]
  ]

  generate_tests(client, "Terminal", test_sets, client.postfmapi)
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
adyen-ruby-api-library-6.3.0 spec/postfmapi_spec.rb
adyen-ruby-api-library-6.2.0 spec/postfmapi_spec.rb
adyen-ruby-api-library-6.1.0 spec/postfmapi_spec.rb
adyen-ruby-api-library-6.0.0 spec/postfmapi_spec.rb
adyen-ruby-api-library-5.1.0 spec/postfmapi_spec.rb
adyen-ruby-api-library-5.0.0 spec/postfmapi_spec.rb
adyen-ruby-api-library-4.4.0 spec/postfmapi_spec.rb
adyen-ruby-api-library-4.3.0 spec/postfmapi_spec.rb
adyen-ruby-api-library-4.2.0 spec/postfmapi_spec.rb
adyen-ruby-api-library-4.1.0 spec/postfmapi_spec.rb