=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::PaymentMethod # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'PaymentMethod' do before do # run before each test @instance = SwaggerClient::PaymentMethod.new end after do # run after each test end describe 'test an instance of PaymentMethod' do it 'should create an instance of PaymentMethod' do expect(@instance).to be_instance_of(SwaggerClient::PaymentMethod) end end describe 'test attribute "type"' 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', ["PAYMENT_CARD", "SEPA", "PAYPAL"]) #validator.allowable_values.each do |value| # expect { @instance.type = value }.not_to raise_error #end end end describe 'test attribute "payment_card"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "sepa"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "pay_pal"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end