Sha256: a0a4de87742753c782129690053bf76dcca8af2a0334a8a93626cb51302579b0
Contents?: true
Size: 1.13 KB
Versions: 1
Compression:
Stored size: 1.13 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::PinMediaSource # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe PinterestSdkClient::PinMediaSource do describe '.openapi_one_of' do it 'lists the items referenced in the oneOf array' do expect(described_class.openapi_one_of).to_not be_empty end end describe '.openapi_discriminator_name' do it 'returns the value of the "discriminator" property' do expect(described_class.openapi_discriminator_name).to_not be_empty end end describe '.openapi_discriminator_mapping' do it 'returns the key/values of the "mapping" property' do expect(described_class.openapi_discriminator_mapping.values.sort).to eq(described_class.openapi_one_of.sort) end end describe '.build' do it 'returns the correct model' do end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pinterest_sdk-1.1.0 | spec/models/pin_media_source_spec.rb |