Sha256: 96358d27aa2f846d9e7daef0bab20aed695bf0515512826b339ad26fe1fe2c52

Contents?: true

Size: 1.03 KB

Versions: 56

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

56 entries across 56 versions & 1 rubygems

Version Path
snaptrade-2.0.72 spec/models/balance_spec.rb
snaptrade-2.0.71 spec/models/balance_spec.rb
snaptrade-2.0.70 spec/models/balance_spec.rb
snaptrade-2.0.69 spec/models/balance_spec.rb
snaptrade-2.0.68 spec/models/balance_spec.rb
snaptrade-2.0.67 spec/models/balance_spec.rb
snaptrade-2.0.66 spec/models/balance_spec.rb
snaptrade-2.0.64 spec/models/balance_spec.rb
snaptrade-2.0.59 spec/models/balance_spec.rb
snaptrade-2.0.58 spec/models/balance_spec.rb
snaptrade-2.0.57 spec/models/balance_spec.rb
snaptrade-2.0.56 spec/models/balance_spec.rb
snaptrade-2.0.55 spec/models/balance_spec.rb
snaptrade-2.0.54 spec/models/balance_spec.rb
snaptrade-2.0.53 spec/models/balance_spec.rb
snaptrade-2.0.52 spec/models/balance_spec.rb
snaptrade-2.0.51 spec/models/balance_spec.rb
snaptrade-2.0.50 spec/models/balance_spec.rb
snaptrade-2.0.49 spec/models/balance_spec.rb
snaptrade-2.0.48 spec/models/balance_spec.rb