Sha256: 492a19276b997c7550d2f71d18c68345671cd756393251d9ca1dce353334481e
Contents?: true
Size: 1.79 KB
Versions: 1
Compression:
Stored size: 1.79 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::PinMediaSourceImageBase64 # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe PinterestSdkClient::PinMediaSourceImageBase64 do let(:instance) { PinterestSdkClient::PinMediaSourceImageBase64.new } describe 'test an instance of PinMediaSourceImageBase64' do it 'should create an instance of PinMediaSourceImageBase64' do expect(instance).to be_instance_of(PinterestSdkClient::PinMediaSourceImageBase64) end end describe 'test attribute "source_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', ["image_base64"]) # validator.allowable_values.each do |value| # expect { instance.source_type = value }.not_to raise_error # end end end describe 'test attribute "content_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', ["image/jpeg", "image/png"]) # validator.allowable_values.each do |value| # expect { instance.content_type = value }.not_to raise_error # end end end describe 'test attribute "data"' 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/pin_media_source_image_base64_spec.rb |