lib/generators/project/features/steps/webrat_steps.rb in auxesis-cucumber-nagios-0.3.7 vs lib/generators/project/features/steps/webrat_steps.rb in auxesis-cucumber-nagios-0.3.8
- old
+ new
@@ -28,9 +28,13 @@
When /^I choose "(.*)"$/ do |field|
choose(field)
end
+When /^I submit the form named "(.*)"$/ do |name|
+ submit_form(name)
+end
+
When /^I attach the file at "(.*)" to "(.*)" $/ do |path, field|
attach_file(field, path)
end