Sha256: 9e01dae3e9f57f8a733000cfef8aa9fb5626e296dc1b46378534945c482ff78e
Contents?: true
Size: 511 Bytes
Versions: 20
Compression:
Stored size: 511 Bytes
Contents
When /^I set the file field to the step definition file$/ do @page.file_field_id = __FILE__ end Then /^its\' value should equal that file$/ do __FILE__.should include @page.file_field_id_element.value end When /^I search for the file field by "([^\"]*)"$/ do |how| @how = how end When /^I search for the file field by "([^\"]*)" and "([^\"]*)"$/ do |param1, param2| @how = "#{param1}_#{param2}" end Then /^I should be able to set the file field$/ do @page.send "file_field_#{@how}=", __FILE__ end
Version data entries
20 entries across 20 versions & 4 rubygems