Sha256: 6103d72444771fd6458e53e889a00095af39f0bd65aee4d9b671a8010f4941ee

Contents?: true

Size: 1.84 KB

Versions: 2

Compression:

Stored size: 1.84 KB

Contents

=begin
#Payment Gateway API Specification.

#The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.

The version of the OpenAPI document: 6.6.0.20190507.002

Generated by: https://openapi-generator.tech
OpenAPI Generator version: unset

=end

require 'spec_helper'
require 'json'
require 'date'

# Unit tests for OpenapiClient::AVSResponse
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'AVSResponse' do
  before do
    # run before each test
    @instance = OpenapiClient::AVSResponse.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of AVSResponse' do
    it 'should create an instance of AVSResponse' do
      expect(@instance).to be_instance_of(OpenapiClient::AVSResponse)
    end
  end
  describe 'test attribute "street_match"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
      # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Y", "N", "NO_INPUT_DATA", "NOT_CHECKED"])
      # validator.allowable_values.each do |value|
      #   expect { @instance.street_match = value }.not_to raise_error
      # end
    end
  end

  describe 'test attribute "postal_code_match"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
      # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Y", "N", "NO_INPUT_DATA", "NOT_CHECKED"])
      # validator.allowable_values.each do |value|
      #   expect { @instance.postal_code_match = value }.not_to raise_error
      # end
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
first_data_gateway-1.4.0 spec/models/avs_response_spec.rb
first_data_gateway-1.3.0 spec/models/avs_response_spec.rb