expanded click button to click any button for easier use
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user