Sha256: 08ea313a1435655ab617a1d6eb730082dbe4045b4a97937a487eac2a683157f7
Contents?: true
Size: 1.3 KB
Versions: 1
Compression:
Stored size: 1.3 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::Menu # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Menu' do before do # run before each test @instance = TripletexRubyClient::Menu.new end after do # run after each test end describe 'test an instance of Menu' do it 'should create an instance of Menu' do expect(@instance).to be_instance_of(TripletexRubyClient::Menu) end end describe 'test attribute "menu_style"' 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', ["NORMAL", "AGRO", "AGRO_ON_PREMISE"]) # validator.allowable_values.each do |value| # expect { @instance.menu_style = value }.not_to raise_error # end end end describe 'test attribute "menu_items"' 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 |
---|---|
tripletex_ruby_client-1.0.12 | spec/models/menu_spec.rb |