Skip to content

Commit

Permalink
Merge pull request ib-ruby#107 from ricpruss/master
Browse files Browse the repository at this point in the history
Updating details so it works with current rspec.
  • Loading branch information
topofocus committed Mar 10, 2015
2 parents 0ce8cf6 + d88dd58 commit f673de2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .rspec
@@ -1,2 +1,2 @@
--color
--format nested
--format documentation
1 change: 1 addition & 0 deletions .ruby-version
@@ -0,0 +1 @@
jruby-1.7.16
6 changes: 4 additions & 2 deletions spec/spec_helper.rb
@@ -1,5 +1,7 @@
require 'rspec'
require 'rspec/its'
require 'ib'
require 'pp'

# Configure top level option indicating how the test suite should be run

Expand All @@ -20,9 +22,9 @@
}
else
# Connection to IB PAPER ACCOUNT
ACCOUNT ||= 'DU60320'
ACCOUNT ||= 'DU60320' # Set this to your Paper Account Number
HOST ||= '127.0.0.1'
PORT ||= 7496
PORT ||= 4001

OPTS[:connection] = {
:account => ACCOUNT, # Your IB PAPER ACCOUNT, tests will only run against it
Expand Down

0 comments on commit f673de2

Please sign in to comment.