Sha256: 4a764a011cc34e10ee3b1ba726fb72d13db6efa8f3883ff995492013d0db4781
Contents?: true
Size: 1.76 KB
Versions: 16
Compression:
Stored size: 1.76 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::ServiceRequestPatch # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ServiceRequestPatch' do before do # run before each test @instance = CloudsmithApi::ServiceRequestPatch.new end after do # run after each test end describe 'test an instance of ServiceRequestPatch' do it 'should create an instance of ServiceRequestPatch' do expect(@instance).to be_instance_of(CloudsmithApi::ServiceRequestPatch) end end describe 'test attribute "description"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "name"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "role"' 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', ["Manager", "Member"]) # validator.allowable_values.each do |value| # expect { @instance.role = value }.not_to raise_error # end end end describe 'test attribute "teams"' 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