Sha256: 6433b91d1bb8d3e9af3184b9dbbaf2b937fec32c50dfc602db28d15b3e3f3f91
Contents?: true
Size: 1.36 KB
Versions: 1
Compression:
Stored size: 1.36 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::PinMediaSourceImageURL # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe PinterestSdkClient::PinMediaSourceImageURL do let(:instance) { PinterestSdkClient::PinMediaSourceImageURL.new } describe 'test an instance of PinMediaSourceImageURL' do it 'should create an instance of PinMediaSourceImageURL' do expect(instance).to be_instance_of(PinterestSdkClient::PinMediaSourceImageURL) 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_url"]) # validator.allowable_values.each do |value| # expect { instance.source_type = value }.not_to raise_error # end end end describe 'test attribute "url"' 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_url_spec.rb |