Sha256: aff516d8beed0035a828f03d26316c6e0b090ac7ec57ebfd19f95265be7e3ac2
Contents?: true
Size: 1.72 KB
Versions: 1
Compression:
Stored size: 1.72 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.2.3 =end require 'spec_helper' require 'json' # Unit tests for CloudsmithApi::MetricsApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'MetricsApi' do before do # run before each test @instance = CloudsmithApi::MetricsApi.new end after do # run after each test end describe 'test an instance of MetricsApi' do it 'should create an instance of MetricsApi' do expect(@instance).to be_instance_of(CloudsmithApi::MetricsApi) end end # unit tests for metrics_entitlements_usage_list # View for listing entitlement token usage as a metric. # View for listing entitlement token usage as a metric. # @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. # @option opts [Integer] :finish Filter token usage ending before this timestamp. Defaults to now if not supplied. # @option opts [Integer] :start Filter token usage starting from this timestamp (seconds since Jan 01 1970. (UTC)). # @option opts [String] :tokens A comma seperated list of tokens (slug perm) to include in the results. # @return [Array<EntitlmentTokenMetric>] describe 'metrics_entitlements_usage_list test' 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 |
---|---|
cloudsmith-api-0.52.79 | spec/api/metrics_api_spec.rb |