Sha256: db85e1cb6f7eb2ba3a850f0f2cbf95360ed23791cf4e8758ee4229458d58d561

Contents?: true

Size: 1.81 KB

Versions: 10

Compression:

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

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

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

10 entries across 10 versions & 1 rubygems

Version Path
snaptrade-1.12.0 spec/models/options_position_spec.rb
snaptrade-1.11.0 spec/models/options_position_spec.rb
snaptrade-1.10.0 spec/models/options_position_spec.rb
snaptrade-1.9.0 spec/models/options_position_spec.rb
snaptrade-1.7.0 spec/models/options_position_spec.rb
snaptrade-1.6.0 spec/models/options_position_spec.rb
snaptrade-1.5.0 spec/models/options_position_spec.rb
snaptrade-1.4.0 spec/models/options_position_spec.rb
snaptrade-1.3.0 spec/models/options_position_spec.rb
snaptrade-1.2.0 spec/models/options_position_spec.rb