I'm using watir-rails to test my application which uses subdomains. I need 
to be able to set a specific host for the request (even if it's still 
connecting to 127.0.0.1). Using the url to do that is kind of annoying since 
you need to retrieve the Rails.port, this solution seems a bit better.
You can merge this Pull Request by running:

  git pull https://github.com/snyff/watir-rails patch-1

Or you can view, comment on it, or merge it online at:

  https://github.com/watir/watir-rails/pull/1

-- Commit Summary --

  * Add host variable to allow subdomain testing

-- File Changes --

    M lib/watir/browser.rb (4)

-- Patch Links --

https://github.com/watir/watir-rails/pull/1.patch
https://github.com/watir/watir-rails/pull/1.diff

_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to