Sha256: 6a83548bbce5c6e9cdf28c171bf6dc871e4034ab2d2d0f91095de0bde125b7b0
Contents?: true
Size: 1.84 KB
Versions: 16
Compression:
Stored size: 1.84 KB
Contents
=begin #Cloudsmith API (v1) #The API to the Cloudsmith Service OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.26 =end require 'spec_helper' require 'json' require 'date' # Unit tests for CloudsmithApi::PackageFileUploadRequest # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'PackageFileUploadRequest' do before do # run before each test @instance = CloudsmithApi::PackageFileUploadRequest.new end after do # run after each test end describe 'test an instance of PackageFileUploadRequest' do it 'should create an instance of PackageFileUploadRequest' do expect(@instance).to be_instance_of(CloudsmithApi::PackageFileUploadRequest) end end describe 'test attribute "filename"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "md5_checksum"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "method"' 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', ["put_parts", "put", "post", "presigned", "unsigned_put"]) # validator.allowable_values.each do |value| # expect { @instance.method = value }.not_to raise_error # end end end describe 'test attribute "sha256_checksum"' 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
16 entries across 16 versions & 1 rubygems