Sha256: 79b47c705208c4d4257b959a53a3a4e50ebe63fc624572485f1a6fb21700c830

Contents?: true

Size: 1.91 KB

Versions: 43

Compression:

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

  after do
    # run after each test
  end

  describe 'test an instance of V1CreateRefundRequest' do
    it 'should create an instact of V1CreateRefundRequest' do
      expect(@instance).to be_instance_of(SquareConnect::V1CreateRefundRequest)
    end
  end
  describe 'test attribute "payment_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 "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', ["FULL", "PARTIAL"])
       #validator.allowable_values.each do |value|
       #  expect { @instance.type = value }.not_to raise_error
       #end
    end
  end

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

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

  describe 'test attribute "request_idempotence_key"' 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.20180712.1.234 spec/models/v1_create_refund_request_spec.rb
square_connect-2.20180712.1.228 spec/models/v1_create_refund_request_spec.rb
square_connect-2.20180712.0.224 spec/models/v1_create_refund_request_spec.rb
square_connect-2.9.0.220 spec/models/v1_create_refund_request_spec.rb
square_connect-2.8.0.215 spec/models/v1_create_refund_request_spec.rb
square_connect-2.8.0.208 spec/models/v1_create_refund_request_spec.rb
square_connect-2.7.0.202 spec/models/v1_create_refund_request_spec.rb
square_connect-2.6.1.197 spec/models/v1_create_refund_request_spec.rb
square_connect-2.6.0.192 spec/models/v1_create_refund_request_spec.rb
square_connect-2.5.2.188 spec/models/v1_create_refund_request_spec.rb
square_connect-2.5.1.183 spec/models/v1_create_refund_request_spec.rb
square_connect-2.5.0.180 spec/models/v1_create_refund_request_spec.rb
square_connect-2.4.0.175 spec/models/v1_create_refund_request_spec.rb
square_connect-2.4.0.170 spec/models/v1_create_refund_request_spec.rb
square_connect-2.3.1.161 spec/models/v1_create_refund_request_spec.rb
square_connect-2.3.0.154 spec/models/v1_create_refund_request_spec.rb
square_connect-2.3.0.153 spec/models/v1_create_refund_request_spec.rb
square_connect-2.2.1.145 spec/models/v1_create_refund_request_spec.rb
square_connect-2.2.0.110 spec/models/v1_create_refund_request_spec.rb
square_connect-2.1.1.106 spec/models/v1_create_refund_request_spec.rb