Sha256: 7c556ba7f76d5226b3129331c035fa9e8a88b737e6e409dc1a9b4a5568178dcc
Contents?: true
Size: 408 Bytes
Versions: 13
Compression:
Stored size: 408 Bytes
Contents
Given /^a feature file named "([^"]*)" with the contents:$/ do |filename, contents| @contents = contents create_feature(filename, @contents) end When /^I visit the home page$/ do visit "/" end Then /^I should see a link to "([^"]*)" with the url "([^"]*)"$/ do |text, url| page.should have_link text, :href => url end Then /^I should see "([^"]*)"$/ do |text| page.should have_content(text) end
Version data entries
13 entries across 13 versions & 1 rubygems