Given /^a feature file on the project "([^"]*)" with the contents:$/ do |project, contents| create_feature(project, "feature1.feature", contents) end Given /^I visit the project page for "([^"]*)"$/ do |project| visit "/projects/#{project}" end Then /^I see a link to the feature "([^"]*)"$/ do |feature| page.should have_link feature end