=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' # Unit tests for CloudsmithApi::BadgesApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'BadgesApi' do before do # run before each test @instance = CloudsmithApi::BadgesApi.new end after do # run after each test end describe 'test an instance of BadgesApi' do it 'should create an instance of BadgesApi' do expect(@instance).to be_instance_of(CloudsmithApi::BadgesApi) end end # unit tests for badges_version_list # Get latest package version for a package or package group. # Get latest package version for a package or package group. # @param owner # @param repo # @param package_format # @param package_name # @param package_version # @param package_identifiers # @param [Hash] opts the optional parameters # @option opts [String] :badge_token Badge token to authenticate for private packages # @option opts [String] :cache_seconds Override the shields.io badge cacheSeconds value. # @option opts [String] :color Override the shields.io badge color value. # @option opts [String] :label Override the shields.io badge label value. # @option opts [String] :label_color Override the shields.io badge labelColor value. # @option opts [String] :logo_color Override the shields.io badge logoColor value. # @option opts [String] :logo_width Override the shields.io badge logoWidth value. # @option opts [BOOLEAN] :render If true, badge will be rendered # @option opts [BOOLEAN] :shields If true, a shields response will be generated # @option opts [BOOLEAN] :show_latest If true, for latest version badges a '(latest)' suffix is added # @option opts [String] :style Override the shields.io badge style value. # @return [Object] describe 'badges_version_list test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end