Sha256: 903c15f2cd7aa98723fb61af2bb49d4c19311378f36d6241a566aa2eb836f30b

Contents?: true

Size: 1.73 KB

Versions: 3

Compression:

Stored size: 1.73 KB

Contents

=begin
Square Connect API

No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

OpenAPI spec version: 2.0

Generated by: https://github.com/swagger-api/swagger-codegen.git


=end

require 'spec_helper'
require 'json'
require 'date'

# Unit tests for SquareConnect::OrderLineItem
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
# Please update as you see appropriate
describe 'OrderLineItem' do
  before do
    # run before each test
    @instance = SquareConnect::OrderLineItem.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of OrderLineItem' do
    it 'should create an instact of OrderLineItem' do
      @instance.should be_a(SquareConnect::OrderLineItem) 
    end
  end
  describe 'test attribute "id"' do
    it 'should work' do
       # assertion here
       # should be_a()
       # should be_nil
       # should ==
       # should_not ==
    end
  end

  describe 'test attribute "name"' do
    it 'should work' do
       # assertion here
       # should be_a()
       # should be_nil
       # should ==
       # should_not ==
    end
  end

  describe 'test attribute "quantity"' do
    it 'should work' do
       # assertion here
       # should be_a()
       # should be_nil
       # should ==
       # should_not ==
    end
  end

  describe 'test attribute "base_price_money"' do
    it 'should work' do
       # assertion here
       # should be_a()
       # should be_nil
       # should ==
       # should_not ==
    end
  end

  describe 'test attribute "total_money"' do
    it 'should work' do
       # assertion here
       # should be_a()
       # should be_nil
       # should ==
       # should_not ==
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
square_connect-2.0.2.69 spec/models/order_line_item_spec.rb
square_connect-2.0.2.30 spec/models/order_line_item_spec.rb
square_connect-2.0.2.13 spec/models/order_line_item_spec.rb