Sha256: 0ea48e42969cd6cca5f5ec9de37ea8a794c3f0dca01c1b940c98040c860f397c
Contents?: true
Size: 974 Bytes
Versions: 1
Compression:
Stored size: 974 Bytes
Contents
require 'rspec' require 'ib-ruby' RSpec.configure do |config| # config.exclusion_filter = { :slow => true } # config.filter = { :focus => true } # config.include(UserExampleHelpers) # config.mock_with :mocha # config.mock_with :flexmock # config.mock_with :rr end puts puts 'WARNING: MAKE SURE TO RUN ALL YOUR TESTS AGAINST IB PAPER ACCOUNT ONLY!' puts 'WARNING: FINANCIAL LOSSES MAY RESULT IF YOU RUN TESTS WITH REAL IB ACCOUNT!' puts 'WARNING: YOU HAVE BEEN WARNED!' puts puts 'Configure your connection to IB PAPER ACCOUNT in spec/spec_helper.rb' puts # Please uncomment next line if you are REALLY sure you have properly configured # Connection to IB PAPER ACCOUNT or mock (Brokertron) account #exit SILENT = false #true BROKERTRON = false CONNECTION_OPTS = BROKERTRON ? {:client_id => 1111, :host => 'free.brokertron.com', :port=> 10501 } : {:client_id => 1111, :host => '10.211.55.2', # localhost? :port=> 4001 }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ib-ruby-0.5.19 | spec/spec_helper.rb |