Sha256: e15d2f810d5a4ae735a26b0f15567010ab30463f47d7d7c3a17f79e713730a97
Contents?: true
Size: 1.69 KB
Versions: 43
Compression:
Stored size: 1.69 KB
Contents
=begin #Square Connect API OpenAPI spec version: 2.0 Contact: developers@squareup.com Generated by: https://github.com/swagger-api/swagger-codegen.git =end require 'spec_helper' require 'json' require 'date' # Unit tests for SquareConnect::V1ModifierList # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'V1ModifierList' do before do # run before each test @instance = SquareConnect::V1ModifierList.new end after do # run after each test end describe 'test an instance of V1ModifierList' do it 'should create an instact of V1ModifierList' do expect(@instance).to be_instance_of(SquareConnect::V1ModifierList) 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 "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 "selection_type"' 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', ["SINGLE", "MULTIPLE"]) #validator.allowable_values.each do |value| # expect { @instance.selection_type = value }.not_to raise_error #end end end describe 'test attribute "modifier_options"' 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
43 entries across 43 versions & 1 rubygems