Sha256: 3fee7112b7f56d5baa2df656cc426d3246df63770a7aaee25b0f12aa2ab42918
Contents?: true
Size: 355 Bytes
Versions: 32
Compression:
Stored size: 355 Bytes
Contents
# Google is too hard to script with Mechanize # Using a Norewgian search engine instead :-) Given /^I am on the Kvasir search page$/ do visit('http://www.kvasir.no/') end When /^I search for "([^\"]*)"$/ do |query| fill_in('q', :with => query) click_button('sokeKnapp') end Then /^I should see$/ do |text| response_body.should contain(text) end
Version data entries
32 entries across 32 versions & 5 rubygems