From ae2c7ca84f0d8c7ddcfccb34cf40e06fdeda058c Mon Sep 17 00:00:00 2001 From: Jeff Kreeftmeijer Date: Sun, 6 Dec 2009 11:06:31 +0100 Subject: [PATCH] added the "I have reset my email..." step --- features/step_definitions/email_reset_steps.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/features/step_definitions/email_reset_steps.rb b/features/step_definitions/email_reset_steps.rb index acac4598703..b738195551c 100644 --- a/features/step_definitions/email_reset_steps.rb +++ b/features/step_definitions/email_reset_steps.rb @@ -5,7 +5,9 @@ end Given /^I have reset my email address to "([^\"]*)"$/ do |email| - pending + Given %{I am on my edit profile page} + When %{I fill in "Email address" with "#{email}"} + And %{I press "Reset email address"} end Then /^I should see the message "([^\"]*)"$/ do |message|