Sha256: daf7e811aa7aeb228f1082f334e4dcab88f8eb553097dc7286d4d9a1755357bc

Contents?: true

Size: 1.75 KB

Versions: 2

Compression:

Stored size: 1.75 KB

Contents

=begin
#Cloudsmith API

#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::FilesAbort
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
# Please update as you see appropriate
describe 'FilesAbort' do
  before do
    # run before each test
    @instance = CloudsmithApi::FilesAbort.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of FilesAbort' do
    it 'should create an instance of FilesAbort' do
      expect(@instance).to be_instance_of(CloudsmithApi::FilesAbort)
    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

2 entries across 2 versions & 1 rubygems

Version Path
cloudsmith-api-1.142.3 spec/models/files_abort_spec.rb
cloudsmith-api-1.120.3 spec/models/files_abort_spec.rb