Sha256: 88844d6b8798c114e5aec4f3cdcef72bd6d1c52c47a00d538515a2d2162a8911
Contents?: true
Size: 1.44 KB
Versions: 36
Compression:
Stored size: 1.44 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 "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
36 entries across 36 versions & 1 rubygems