Hi newbie question here,
I using webrat from cucumber in a rails 2.3.4 app (webrat 0.7.1,
cucumber 0.8.5) and I want to use passenger server @
http://client1.local
When I do :
Given I go to the homepage
I get the following :
10 redirects to the same URL ("
http://www.example.com/404.html")
(Webrat::InfiniteRedirectError)
./features/step_definitions/web_steps.rb:20:in `/^(?:|I )go to (.+)$/'
features/authentication.feature:8:in `Given I go to the homepage'
My webrat config is as follows
Webrat.configure do |config|
config.application_address = "
http://client1.local"
config.mode = :rails
config.open_error_files = false # Set to true if you want error
pages to pop up in the browser
end
Can some tell me where I'm going wrong ? How do I get webrat to use
http://client1.local ? What is the
www.example.com string ?
Thanks
Justin