spec/integration/orders/trades_spec.rb in ib-ruby-0.8.1 vs spec/integration/orders/trades_spec.rb in ib-ruby-0.8.3
- old
+ new
@@ -30,10 +30,10 @@
exec.client_id.should == OPTS[:connection][:client_id]
exec.local_id.should be_an Integer
exec.local_id.should == @order.local_id if @order
exec.exec_id.should be_a String
exec.time.should =~ /\d\d:\d\d:\d\d/
- exec.account_name.should == OPTS[:connection][:account_name]
+ exec.account_name.should == OPTS[:connection][:account]
exec.exchange.should == 'IDEALPRO'
exec.side.should == side
exec.shares.should == 20000
exec.cumulative_quantity.should == 20000
exec.price.should be > 1
\ No newline at end of file