Sha256: 431d5fc000dc8c3d8877bb93bcd9b07f4af1db2e68814e7ae772b3028edc72be
Contents?: true
Size: 1.53 KB
Versions: 14
Compression:
Stored size: 1.53 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::ShiftWorkday # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ShiftWorkday' do before do # run before each test @instance = SquareConnect::ShiftWorkday.new end after do # run after each test end describe 'test an instance of ShiftWorkday' do it 'should create an instact of ShiftWorkday' do expect(@instance).to be_instance_of(SquareConnect::ShiftWorkday) end end describe 'test attribute "date_range"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "match_shifts_by"' 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', ["START_AT", "END_AT", "INTERSECTION"]) #validator.allowable_values.each do |value| # expect { @instance.match_shifts_by = value }.not_to raise_error #end end end describe 'test attribute "default_timezone"' 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
14 entries across 14 versions & 1 rubygems