spec/integration/option_data_spec.rb in ib-ruby-0.6.1 vs spec/integration/option_data_spec.rb in ib-ruby-0.7.0

- old
+ new

@@ -7,10 +7,10 @@ verify_account @ib = IB::Connection.new OPTS[:connection].merge(:logger => mock_logger) @ib.send_message :RequestMarketData, :id => 456, :contract => IB::Symbols::Options[:aapl500] - @ib.wait_for 5, :TickPrice, :TickSize, :TickString, :TickOption + @ib.wait_for :TickPrice, :TickSize, :TickString, :TickOption, 5 # sec end after(:all) do @ib.send_message :CancelMarketData, :id => 456 close_connection