Sha256: dbfb31bba262629e9c3da235792ffded767dd4c5d18bf6270d56ac18c3517eb4
Contents?: true
Size: 354 Bytes
Versions: 8
Compression:
Stored size: 354 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
8 entries across 8 versions & 1 rubygems