Commit 6365ba243ccc3862e5f2f2d035c07697e0b55f8e

Authored by Daniel Croak
1 parent 2278a267

step definitions for email / password

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
features/step_definitions/clearance_steps.rb
... ... @@ -100,13 +100,13 @@ end
100 100  
101 101 When /^I request password reset link to be sent to "(.*)"$/ do |email|
102 102 When %{I go to the password reset request page}
103   - And %{I fill in "Email address" with "#{email}"}
  103 + And %{I fill in "Email" with "#{email}"}
104 104 And %{I press "Reset password"}
105 105 end
106 106  
107 107 When /^I update my password with "(.*)\/(.*)"$/ do |password, confirmation|
108   - And %{I fill in "Choose password" with "#{password}"}
109   - And %{I fill in "Confirm password" with "#{confirmation}"}
  108 + And %{I fill in "Password" with "#{password}"}
  109 + And %{I fill in "Password confirmation" with "#{confirmation}"}
110 110 And %{I press "Save this password"}
111 111 end
112 112  
... ...