Sha256: 1d22e8d21e5e6467b90bf471bfa2cc7143e1319ed2c05339a39f1688ae5eb116

Contents?: true

Size: 1.6 KB

Versions: 19

Compression:

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

  after do
    # run after each test
  end

  describe 'test an instance of SourceApplication' do
    it 'should create an instact of SourceApplication' do
      expect(@instance).to be_instance_of(SquareConnect::SourceApplication)
    end
  end
  describe 'test attribute "product"' 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', ["SQUARE_POS", "EXTERNAL_API", "BILLING", "APPOINTMENTS", "INVOICES", "ONLINE_STORE", "PAYROLL", "OTHER"])
       #validator.allowable_values.each do |value|
       #  expect { @instance.product = value }.not_to raise_error
       #end
    end
  end

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

end

Version data entries

19 entries across 19 versions & 1 rubygems

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