Sha256: 4d2f9d85a54336898e3838caffb9c0d3c440bd21e415583bff051abc2b00461d

Contents?: true

Size: 1.48 KB

Versions: 4

Compression:

Stored size: 1.48 KB

Contents

=begin
#SnapTrade

#Connect brokerage accounts to your app for live positions and trading

The version of the OpenAPI document: 1.0.0
Contact: api@snaptrade.com

=end

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

# Unit tests for SnapTrade::CashRestriction
describe SnapTrade::CashRestriction do
  let(:instance) { SnapTrade::CashRestriction.new }

  describe 'test an instance of CashRestriction' do
    it 'should create an instance of CashRestriction' do
      expect(instance).to be_instance_of(SnapTrade::CashRestriction)
    end
  end
  describe 'test attribute "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 "account"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

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

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

4 entries across 4 versions & 1 rubygems

Version Path
snaptrade-1.16.2 spec/models/cash_restriction_spec.rb
snaptrade-1.15.1 spec/models/cash_restriction_spec.rb
snaptrade-1.13.0 spec/models/cash_restriction_spec.rb
snaptrade-1.8.0 spec/models/cash_restriction_spec.rb