=begin #Pinterest REST API #Pinterest's REST API The version of the OpenAPI document: 5.3.0 Contact: pinterest-api@pinterest.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.4.0 =end require 'spec_helper' require 'json' require 'date' # Unit tests for PinterestSdkClient::OauthAccessTokenRequest # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe PinterestSdkClient::OauthAccessTokenRequest do let(:instance) { PinterestSdkClient::OauthAccessTokenRequest.new } describe 'test an instance of OauthAccessTokenRequest' do it 'should create an instance of OauthAccessTokenRequest' do expect(instance).to be_instance_of(PinterestSdkClient::OauthAccessTokenRequest) end end describe 'test attribute "grant_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', ["authorization_code", "refresh_token"]) # validator.allowable_values.each do |value| # expect { instance.grant_type = value }.not_to raise_error # end end end end