=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.2.3 =end require 'spec_helper' require 'json' # Unit tests for CloudsmithApi::VulnerabilitiesApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'VulnerabilitiesApi' do before do # run before each test @instance = CloudsmithApi::VulnerabilitiesApi.new end after do # run after each test end describe 'test an instance of VulnerabilitiesApi' do it 'should create an instance of VulnerabilitiesApi' do expect(@instance).to be_instance_of(CloudsmithApi::VulnerabilitiesApi) end end # unit tests for vulnerabilities_list # Checks feature is within plan before listing results. # Checks feature is within plan before listing results. # @param owner # @param [Hash] opts the optional parameters # @option opts [Integer] :page A page number within the paginated result set. # @option opts [Integer] :page_size Number of results to return per page. # @return [Array] describe 'vulnerabilities_list test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for vulnerabilities_list0 # Checks feature is within plan before listing results. # Checks feature is within plan before listing results. # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [Integer] :page A page number within the paginated result set. # @option opts [Integer] :page_size Number of results to return per page. # @return [Array] describe 'vulnerabilities_list0 test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for vulnerabilities_list1 # Checks feature is within plan before listing results. # Checks feature is within plan before listing results. # @param owner # @param repo # @param package # @param [Hash] opts the optional parameters # @option opts [Integer] :page A page number within the paginated result set. # @option opts [Integer] :page_size Number of results to return per page. # @return [Array] describe 'vulnerabilities_list1 test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for vulnerabilities_read # Checks feature is within plan before retrieving results. # Checks feature is within plan before retrieving results. # @param owner # @param repo # @param package # @param scan_id # @param [Hash] opts the optional parameters # @return [VulnerabilityScanResults] describe 'vulnerabilities_read test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end