Sha256: 616b44b741d946593801890e21e27c4b7ca4bef0dad1165a7c21b859eaf5eec6
Contents?: true
Size: 1.88 KB
Versions: 2
Compression:
Stored size: 1.88 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
snaptrade-1.13.0 | spec/models/options_position_spec.rb |
snaptrade-1.8.0 | spec/models/options_position_spec.rb |