Given /^there aren't any projects$/ do end When /^I view the welcome page$/ do visit "/" end Then /^I am redirected to the "([^"]*)" project page$/ do |project| sleep 1 page.current_path.should include "/projects/#{project}" end When /^I select the project "([^"]*)"$/ do |project| select(project, :from => "projects") end Then /^I see the wally README$/ do page.should have_content "Wally is a web-based Cucumber viewer and navigator" end