=begin #Payment Gateway API Specification. #Payment Gateway API for payment processing. Version 6.4.0.20181018.001 OpenAPI spec version: 6.4.0.20181018.001 Generated by: https://openapi-generator.tech OpenAPI Generator version: unset =end require 'spec_helper' require 'json' require 'date' # Unit tests for OpenapiClient::AliPay # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'AliPay' do before do # run before each test @instance = OpenapiClient::AliPay.new end after do # run after each test end describe 'test an instance of AliPay' do it 'should create an instance of AliPay' do expect(@instance).to be_instance_of(OpenapiClient::AliPay) end end describe 'test attribute "payment_data_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', ["BARCODE", "QRCODE"]) # validator.allowable_values.each do |value| # expect { @instance.payment_data_type = value }.not_to raise_error # end end end describe 'test attribute "payment_data"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "order_title"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "order_details"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end