You need to ensure that the web server is running in test mode.
On 9/7/06, David Schmidt [EMAIL PROTECTED] wrote:
Dave,
Very nice!
I notice that your example at http://watir-on-rails.rubyforge.org/ tests
the URL for the local development Rails app on the default port
(http://localhost:3000/). Does your plugin start the web server when
you do the rake test:watir or do you have to ensure that the web
server is already running?
David Schmidt
Dave Hoover wrote:
I have just released a Ruby on Rails Plugin that allows for easy Watir
testing in Rails. To install the plugin in your Rails project,
execute
./script/plugin install svn://rubyforge.org/var/svn/watir-on-rails
You can then use the generator to get you started on writing your
first Watir on Rails test...
./script/generate watir SuccessfulLogin
Your Watir tests will live in test/watir and can be executed from Rake
like this...
rake test:watir
In your Watir tests you will have access to all the standard Rails
testing conveniences, such as fixtures and ActiveRecord APIs.
More information can be found at http://watir-on-rails.rubyforge.org/
Watir on Rails supports both Watir::IE and Watir::Safari.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general