Sha256: d27308e13f109af1f4bb9db27bc165073f2c9bf3d024152617d72240d1d99f2a

Contents?: true

Size: 1.73 KB

Versions: 43

Compression:

Stored size: 1.73 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::ListTransactionsRequest
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
# Please update as you see appropriate
describe 'ListTransactionsRequest' do
  before do
    # run before each test
    @instance = SquareConnect::ListTransactionsRequest.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of ListTransactionsRequest' do
    it 'should create an instact of ListTransactionsRequest' do
      expect(@instance).to be_instance_of(SquareConnect::ListTransactionsRequest)
    end
  end
  describe 'test attribute "begin_time"' do
    it 'should work' do
       # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "end_time"' do
    it 'should work' do
       # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "sort_order"' 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', ["DESC", "ASC"])
       #validator.allowable_values.each do |value|
       #  expect { @instance.sort_order = value }.not_to raise_error
       #end
    end
  end

  describe 'test attribute "cursor"' 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

Version Path
square_connect-2.20190724.1.334 spec/models/list_transactions_request_spec.rb
square_connect-2.20190724.0.331 spec/models/list_transactions_request_spec.rb
square_connect-2.20190724.0.330 spec/models/list_transactions_request_spec.rb
square_connect-2.20190724.0.325 spec/models/list_transactions_request_spec.rb
square_connect-2.20190710.0.321 spec/models/list_transactions_request_spec.rb
square_connect-2.20190612.1.314 spec/models/list_transactions_request_spec.rb
square_connect-2.20190612.0.311 spec/models/list_transactions_request_spec.rb
square_connect-2.20190612.0.309 spec/models/list_transactions_request_spec.rb
square_connect-2.20190508.0.304 spec/models/list_transactions_request_spec.rb
square_connect-2.20190410.1.300 spec/models/list_transactions_request_spec.rb
square_connect-2.20190410.0.296 spec/models/list_transactions_request_spec.rb
square_connect-2.20190327.1.292 spec/models/list_transactions_request_spec.rb
square_connect-2.20190313.1.282 spec/models/list_transactions_request_spec.rb
square_connect-2.20190313.0.278 spec/models/list_transactions_request_spec.rb
square_connect-2.20190213.0.274 spec/models/list_transactions_request_spec.rb
square_connect-2.20181212.0.267 spec/models/list_transactions_request_spec.rb
square_connect-2.20181205.0.263 spec/models/list_transactions_request_spec.rb
square_connect-2.20180918.1.251 spec/models/list_transactions_request_spec.rb
square_connect-2.20180918.0.244 spec/models/list_transactions_request_spec.rb
square_connect-2.20180712.2.237 spec/models/list_transactions_request_spec.rb