Topic: home page test cucumber
i am trying to write a test to see if i have a home page with cucumber
Feature: Home page In Order to be welcome to the web site As a user I want to be welcome to the website Scenario: Home Page When I go to the home page Then I should see "Welcome"
When /^I go to the home page$/ do pending # express the regexp above with the code you wish you had end
i know i have to replace
pending # express the regexp above with the code you wish you had
with something that tells cucumber look in the home_path for "Welcome"
but what is that