jnicklas/capybara — pull request #685 by jwilger (2012-04-05 05:12:45+00:00)
Title: Allow port to be specified on Capybara::Server initialization

This makes it possible to use Capybara::Server directly with a specified port
number without having to make a separate assignment to Capybara.server_port.

Useful if someone (like me) wants to use Capybara::Server to spin up a Rack server outside the context of Capybara itself.

The value still defaults to Capybara.server_port if no port is specified.