diff --git a/features/step_definitions/steps.rb b/features/step_definitions/steps.rb index 0e99923..78eb083 100644 --- a/features/step_definitions/steps.rb +++ b/features/step_definitions/steps.rb @@ -10,8 +10,8 @@ When('I click the {string} button') do |string| click_button {string} end -When('I type {string} in the {string} field') do |email_txt, email_field| - fill_in email_field, with: email_txt +When('I type {string} in the {string} field') do |text, field| + fill_in field, with: text end # THEN