Sha256: fc651b000730ab201c7fe286e16e2bfbfab0a50558964fea95983e9e2c41a56b

Contents?: true

Size: 883 Bytes

Versions: 13

Compression:

Stored size: 883 Bytes

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

  describe 'test an instance of StopLoss' do
    it 'should create an instance of StopLoss' do
      expect(instance).to be_instance_of(SnapTrade::StopLoss)
    end
  end
  describe 'test attribute "stop_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 "limit_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

13 entries across 13 versions & 1 rubygems

Version Path
snaptrade-2.0.82 spec/models/stop_loss_spec.rb
snaptrade-2.0.81 spec/models/stop_loss_spec.rb
snaptrade-2.0.80 spec/models/stop_loss_spec.rb
snaptrade-2.0.79 spec/models/stop_loss_spec.rb
snaptrade-2.0.78 spec/models/stop_loss_spec.rb
snaptrade-2.0.77 spec/models/stop_loss_spec.rb
snaptrade-2.0.76 spec/models/stop_loss_spec.rb
snaptrade-2.0.75 spec/models/stop_loss_spec.rb
snaptrade-2.0.74 spec/models/stop_loss_spec.rb
snaptrade-2.0.73 spec/models/stop_loss_spec.rb
snaptrade-2.0.72 spec/models/stop_loss_spec.rb
snaptrade-2.0.71 spec/models/stop_loss_spec.rb
snaptrade-2.0.70 spec/models/stop_loss_spec.rb