Oh yes, actually, this code isn't a actual spec, it is a file in 
spec/acceptance/support/paths.rb, there is the code:

module NavigationHelpers
  # Put helper methods related to the paths in your application here.

  def homepage
    "/"
  end

  def start_order_page
    "/categories"
  end

  def products_page category
    "/categories/#{category.id}/products"
  end

  def new_pizza_page
    "/pizzas/new"
  end
end

RSpec.configuration.include NavigationHelpers, :type => :acceptance


please tell me what's wrong with this,

Thanks!

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to