Sha256: 936e1e01b78ff41846d2d8c511f2f60d208c61ec8d2b64532f9d7742fec07204
Contents?: true
Size: 1.73 KB
Versions: 5
Compression:
Stored size: 1.73 KB
Contents
=begin #API V1 #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.3.0-SNAPSHOT =end require 'spec_helper' require 'json' require 'date' # Unit tests for FormAPI::InlineResponse201Submission # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'InlineResponse201Submission' do before do # run before each test @instance = FormAPI::InlineResponse201Submission.new end after do # run after each test end describe 'test an instance of InlineResponse201Submission' do it 'should create an instance of InlineResponse201Submission' do expect(@instance).to be_instance_of(FormAPI::InlineResponse201Submission) end end describe 'test attribute "id"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "state"' 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', ["pending", "processed", "invalid_data", "error", "image_download_failed", "image_processing_failed"]) #validator.allowable_values.each do |value| # expect { @instance.state = value }.not_to raise_error #end end end describe 'test attribute "download_url"' 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
5 entries across 5 versions & 1 rubygems