Нужна помощь в избавлении от этой ошибки. Не удалось пройти этот шаг с огурцом.Неоднозначное совпадение при использовании определения шага огурца
And I fill in "Email" with "[email protected]" # features/developer_registration.feature:9
Ambiguous match of "I fill in "Email" with "[email protected]"":
features/step_definitions/developer_steps.rb:9:in `/^I fill in "(.*?)" with "(.*?)"$/'
features/step_definitions/developer_steps.rb:31:in `/^I fill in "(.*?)" with "(.*?)"$/'
Эта часть в шагах.rb, которая имеет отношение к этому шагу.
When(/^I fill in "(.*?)" with "(.*?)"$/) do |email, password|
fill_in "[email protected]", with: email # express the regexp above with the code you wish you had
fill_in "1", with: password
end