Sha256: 6062a3ef96f2f9f08fc4c4e43aaffa4c96945868b8770b391af9d48a51c7a48d
Contents?: true
Size: 506 Bytes
Versions: 37
Compression:
Stored size: 506 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 @page.file_field_id_element.value.should == __FILE__ 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
37 entries across 37 versions & 1 rubygems