Sha256: b3e90bada0b26c09566667c74d7e812a98d8f05ccd7dfc18cb1d1db8df1fb1a8
Contents?: true
Size: 298 Bytes
Versions: 128
Compression:
Stored size: 298 Bytes
Contents
Given /^I visit the calculator page$/ do visit '/' end Given /^I fill in '(.*)' for '(.*)'$/ do |value, field| fill_in(field, :with => value) end When /^I press '(.*)'$/ do |name| click_button(name) end Then /^I should see '(.*)'$/ do |text| response_body.should contain(/#{text}/m) end
Version data entries
128 entries across 124 versions & 17 rubygems