Sha256: 8f3497b9b00c58b7d56ba2c675bc589fe0d33265572f9d19cb59ce5b19c1f196
Contents?: true
Size: 1.53 KB
Versions: 1
Compression:
Stored size: 1.53 KB
Contents
=begin #Tripletex API OpenAPI spec version: 2.69.5 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.24 =end require 'spec_helper' require 'json' require 'date' # Unit tests for TripletexRubyClient::ReportAccess # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ReportAccess' do before do # run before each test @instance = TripletexRubyClient::ReportAccess.new end after do # run after each test end describe 'test an instance of ReportAccess' do it 'should create an instance of ReportAccess' do expect(@instance).to be_instance_of(TripletexRubyClient::ReportAccess) end end describe 'test attribute "report"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "grant"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "reason"' 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', ["Global", "Owner", "Administrator", "Shared", "None"]) # validator.allowable_values.each do |value| # expect { @instance.reason = value }.not_to raise_error # end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tripletex_ruby_client-1.0.12 | spec/models/report_access_spec.rb |