Sha256: 922d75e053a23d53bafd395618360c2e01744371227ac86ef9805a4f50f9e043
Contents?: true
Size: 1.41 KB
Versions: 5
Compression:
Stored size: 1.41 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::InlineResponse201 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'InlineResponse201' do before do # run before each test @instance = FormAPI::InlineResponse201.new end after do # run after each test end describe 'test an instance of InlineResponse201' do it 'should create an instance of InlineResponse201' do expect(@instance).to be_instance_of(FormAPI::InlineResponse201) end end describe 'test attribute "status"' 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', ["success", "error"]) #validator.allowable_values.each do |value| # expect { @instance.status = value }.not_to raise_error #end end end describe 'test attribute "submission"' 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