Sha256: de362aac83de3af53c37eef16f9e138933df83ed09f69c2d607d98917328df17
Contents?: true
Size: 961 Bytes
Versions: 1
Compression:
Stored size: 961 Bytes
Contents
require 'integration_helper' describe "Request Account Data", :connected => true, :integration => true do before(:all) do verify_account @ib = IB::Connection.new OPTS[:connection].merge(:logger => mock_logger) end after(:all) { close_connection } context "with subscribe option set" do before(:all) do @ib.send_message :RequestAccountData, :subscribe => true @ib.wait_for 5, :AccountDownloadEnd end after(:all) do @ib.send_message :RequestAccountData, :subscribe => false clean_connection end it_behaves_like 'Valid account data request' end context "without subscribe option" do before(:all) do @ib.send_message :RequestAccountData @ib.wait_for 5, :AccountDownloadEnd end after(:all) do @ib.send_message :RequestAccountData, :subscribe => false clean_connection end it_behaves_like 'Valid account data request' end end # Request Account Data
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ib-ruby-0.6.1 | spec/integration/account_info_spec.rb |