Sha256: a5342fd45ac7fcdf7d3d7440796d2644e5723dc69d922ee05b6d75528514ac66
Contents?: true
Size: 1.2 KB
Versions: 1
Compression:
Stored size: 1.2 KB
Contents
=begin #Pinterest REST API #Pinterest's REST API The version of the OpenAPI document: 5.3.0 Contact: blah@cliffano.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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pinterest_sdk-1.1.0 | spec/models/oauth_access_token_request_spec.rb |