Sha256: d3a2d5986a45543bc46cc127656e279febf730bcab2545f19fa975d9498e9f6c
Contents?: true
Size: 539 Bytes
Versions: 9
Compression:
Stored size: 539 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 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 see "([^"]*)" in the search results$/ do |text| within ".content" do page.should have_content text end end Then /^I see the html:$/ do |html| page.body.should include html end
Version data entries
9 entries across 9 versions & 2 rubygems