Nerian/akephalos2 — pull request #34 by afazio (2012-11-21 02:30:09+00:00)
Title: Modify Capybara::Driver::Akephalos::url to return absolute URL whether C...

Currently Akephalos fails if trying to run Capybara against a remote host. For example, when given the following config:

Capybara.configure do |config|
config.run_server = false
config.app_host = 'http://127.0.0.1:8080'
end

... Akephalos will die because it is still trying to fetch absolute URLs from rack_server which isn't running.

This patch modifies Capybara::Driver::Akephalos::url to return the absolute URL whether Capybara is running a server or not. Necessary when running capyabara/akephalos on remote server.