Hi,
I've slowly been able to piece together a working webrat + selenium
test setup. I've not been able to find any information on this error,
however:
Loaded suite test/integration/user_login_test
Started
==> Waiting for Selenium RC server on port 4444... Ready!
==> Waiting for sinatra application server on port 3001... Ready!
/usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/server.rb:170:
warning: parenthesize argument(s) for future version
configuration /path/to/my/rails/project/
config.ru not found
I'm not even sure what component is looking for config.ru... webrat,
rack, or something else?
The browser window opens and everything, so that's ok.
My Webrat configuation is as follows:
Webrat.configure do |config|
# config.mode = :rails
config.mode = :selenium
# defaults to 3001. Avoid Selenium's default port, 4444
config.application_port = 3001
# could also be :merb. Defaults to :rails
config.application_framework = :sinatra
# should equal the environment of the test runner because of
# database and gem dependencies. Defaults to :test.
config.application_environment = RAILS_ENV || :test
# Saved proxy settings, among other things
config.selenium_firefox_profile = "test/selenium_firefox_profile"
end
sincerely,
Curran