=begin #Payment Gateway API Specification #Payment Gateway API for payment processing. OpenAPI spec version: 0.0.1 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: unset =end require 'spec_helper' require 'json' require 'date' # Unit tests for SwaggerClient::PaymentCard # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'PaymentCard' do before do # run before each test @instance = SwaggerClient::PaymentCard.new end after do # run after each test end describe 'test an instance of PaymentCard' do it 'should create an instance of PaymentCard' do expect(@instance).to be_instance_of(SwaggerClient::PaymentCard) end end describe 'test attribute "number"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "expiry_date"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "security_code"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "card_function"' 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', ["CREDIT", "DEBIT"]) #validator.allowable_values.each do |value| # expect { @instance.card_function = value }.not_to raise_error #end end end describe 'test attribute "cardholder_name"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "authentication_request"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "authentication_result"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "brand"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end