Topic: Cucumber Check home page [SOLVED]

I want to make sure that i have a homepage using cucumber
but this is what i am getting

Examples: List of pages and there titles
      | Page          | Page Title                     |
      | Home Page     | Welcome to On-Call Architect   |
      undefined local variable or method `root' for #<Cucumber::Rails::World:0x007fe8c5c4ca10> (NameError)
      ./features/step_definitions/visitor_views_site_features.rb:16:in `/^I go to Home Page$/'
      features/visitor_views_site_features.feature:7:in `When I go to <Page>'

how can i defined root?

Where would i define root?

Last edited by moiseszaragoza (2012-05-29 12:04:05)

Re: Cucumber Check home page [SOLVED]

Change root to root_path and you should be ok