expanded click button to click any button for easier use

This commit is contained in:
2023-10-01 12:14:41 -07:00
parent 445236d735
commit a1ea2a09ec
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -6,8 +6,8 @@ end
# WHEN
When('I click the submit button') do
click_button "Submit"
When('I click the {string} button') do |string|
click_button {string}
end
# THEN