Sha256: 3ed6bf657082eeda9c84261596049ad18dcd87b3e16a400fb4a37b52baba5129

Contents?: true

Size: 1.91 KB

Versions: 37

Compression:

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

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

  describe 'test attribute "universal_symbol"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "action"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "units"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "price"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

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

37 entries across 37 versions & 1 rubygems

Version Path
snaptrade-1.17.1 spec/models/trade_spec.rb
snaptrade-1.17.0 spec/models/trade_spec.rb
snaptrade-1.16.3 spec/models/trade_spec.rb
snaptrade-1.16.1 spec/models/trade_spec.rb
snaptrade-1.16.0 spec/models/trade_spec.rb
snaptrade-1.15.0 spec/models/trade_spec.rb
snaptrade-1.14.0 spec/models/trade_spec.rb
snaptrade-1.12.0 spec/models/trade_spec.rb
snaptrade-1.11.0 spec/models/trade_spec.rb
snaptrade-1.10.0 spec/models/trade_spec.rb
snaptrade-1.9.0 spec/models/trade_spec.rb
snaptrade-1.7.0 spec/models/trade_spec.rb
snaptrade-1.6.0 spec/models/trade_spec.rb
snaptrade-1.5.0 spec/models/trade_spec.rb
snaptrade-1.4.0 spec/models/trade_spec.rb
snaptrade-1.3.0 spec/models/trade_spec.rb
snaptrade-1.2.0 spec/models/trade_spec.rb