Sha256: 4b72094e4a3236855bfe6b239ead85ccede986fcd38cfc2e812b78933c4efd0f
Contents?: true
Size: 1.95 KB
Versions: 1
Compression:
Stored size: 1.95 KB
Contents
=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::OauthAccessTokenResponse # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe PinterestSdkClient::OauthAccessTokenResponse do let(:instance) { PinterestSdkClient::OauthAccessTokenResponse.new } describe 'test an instance of OauthAccessTokenResponse' do it 'should create an instance of OauthAccessTokenResponse' do expect(instance).to be_instance_of(PinterestSdkClient::OauthAccessTokenResponse) end end describe 'test attribute "response_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.response_type = value }.not_to raise_error # end end end describe 'test attribute "access_token"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "token_type"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "expires_in"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "scope"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pinterest_sdk-1.0.0 | spec/models/oauth_access_token_response_spec.rb |