Sha256: 96358d27aa2f846d9e7daef0bab20aed695bf0515512826b339ad26fe1fe2c52

Contents?: true

Size: 1.03 KB

Versions: 57

Compression:

Stored size: 1.03 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::Balance
describe SnapTrade::Balance do
  let(:instance) { SnapTrade::Balance.new }

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

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

57 entries across 57 versions & 1 rubygems

Version Path
snaptrade-2.0.48 spec/models/balance_spec.rb
snaptrade-2.0.47 spec/models/balance_spec.rb
snaptrade-2.0.46 spec/models/balance_spec.rb
snaptrade-2.0.45 spec/models/balance_spec.rb
snaptrade-2.0.44 spec/models/balance_spec.rb
snaptrade-2.0.43 spec/models/balance_spec.rb
snaptrade-2.0.42 spec/models/balance_spec.rb
snaptrade-2.0.41 spec/models/balance_spec.rb
snaptrade-2.0.40 spec/models/balance_spec.rb
snaptrade-2.0.39 spec/models/balance_spec.rb
snaptrade-2.0.38 spec/models/balance_spec.rb
snaptrade-2.0.37 spec/models/balance_spec.rb
snaptrade-2.0.36 spec/models/balance_spec.rb
snaptrade-2.0.35 spec/models/balance_spec.rb
snaptrade-2.0.34 spec/models/balance_spec.rb
snaptrade-2.0.33 spec/models/balance_spec.rb
snaptrade-2.0.32 spec/models/balance_spec.rb
snaptrade-2.0.31 spec/models/balance_spec.rb
snaptrade-2.0.30 spec/models/balance_spec.rb
snaptrade-2.0.29 spec/models/balance_spec.rb