jeroenvandijk/capybara-mechanize — pull request #32 by mattconnolly (2012-02-05 12:58:26+00:00)
Title: For Issue #31: Remote site with not empty path in app root fails to follow links

Hi all,

I've written a fix with some tests for Issue #31.

I have all the other tests passing (although I did have to alter the Gemfile to update to rspec 2.8.0. the tests would not run in rspec 2.0.1 as per Gemfile. This isn't included in my commits.)

This change has allowed me to use capybara-mechanize to run tests on a PHP app in a subdirectory of a server.

Feedback appreciated, and many thanks for your work!

-Matt