Sha256: 4c402246ab2c1c2a03b0ce7108c058d098282e2dff8f0684836a0c2f5411931c
Contents?: true
Size: 560 Bytes
Versions: 7
Compression:
Stored size: 560 Bytes
Contents
Given /^I am on the search page$/ do visit "/projects/project/search" end When /^I search for "([^"]*)"$/ do |text| fill_in 'q', :with => text click_button 'Search' end Then /^I should see a search result link to "([^"]*)" with the url "([^"]*)"$/ do |text, url| within ".content" do page.should have_link text, :href => url end end Then /^I should see "([^"]*)" in the search results$/ do |text| within ".content" do page.should have_content text end end Then /^I should see the html:$/ do |html| page.body.should include html end
Version data entries
7 entries across 7 versions & 1 rubygems