Sha256: a9d4e5a1715d16a8377d86b31f73e65c5323c82e235293f0fe9feee3b47ee2d3
Contents?: true
Size: 1.77 KB
Versions: 15
Compression:
Stored size: 1.77 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::OrderFulfillment # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'OrderFulfillment' do before do # run before each test @instance = SquareConnect::OrderFulfillment.new end after do # run after each test end describe 'test an instance of OrderFulfillment' do it 'should create an instact of OrderFulfillment' do expect(@instance).to be_instance_of(SquareConnect::OrderFulfillment) end end describe 'test attribute "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', ["PICKUP"]) #validator.allowable_values.each do |value| # expect { @instance.type = value }.not_to raise_error #end 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', ["PROPOSED", "RESERVED", "PREPARED", "COMPLETED", "CANCELED", "FAILED"]) #validator.allowable_values.each do |value| # expect { @instance.state = value }.not_to raise_error #end end end describe 'test attribute "pickup_details"' 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
15 entries across 15 versions & 1 rubygems