watir/watirspec — pull request #45 by titusfortner (2014-10-03 23:51:17+00:00)
Title: Rescue TypeError for #free_port?

Running more than one watirspec test at a time gives me this:

/home/titus/workspace/watir-webdriver/spec/watirspec/lib/server.rb:78:in `initialize': no implicit conversion of nil into String (TypeError)
from /home/titus/workspace/watir-webdriver/spec/watirspec/lib/server.rb:78:in `new'
from /home/titus/workspace/watir-webdriver/spec/watirspec/lib/server.rb:78:in `free_port?'
from /home/titus/workspace/watir-webdriver/spec/watirspec/lib/server.rb:55:in `find_free_port_above'
from /home/titus/workspace/watir-webdriver/spec/watirspec/lib/server.rb:109:in `'
from /home/titus/workspace/watir-webdriver/spec/watirspec/lib/server.rb:6:in `'
from /home/titus/workspace/watir-webdriver/spec/watirspec/lib/server.rb:5:in `'
from /home/titus/workspace/watir-webdriver/spec/watirspec/spec_helper.rb:11:in `require'
from /home/titus/workspace/watir-webdriver/spec/watirspec/spec_helper.rb:11:in `'
from /home/titus/workspace/watir-webdriver/spec/element_spec.rb:1:in `require'
from /home/titus/workspace/watir-webdriver/spec/element_spec.rb:1:in `'