Sha256: 8e1dd6dc4ef45e52c5947aee09eeaa2fe7e214c00397d8653d22365781bace91
Contents?: true
Size: 296 Bytes
Versions: 80
Compression:
Stored size: 296 Bytes
Contents
Given /^I visit the calculator page$/ do visit '/add' 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.should contain(/#{text}/m) end
Version data entries
80 entries across 80 versions & 6 rubygems