Users with SHA-1 hashes can reset their passwords

This commit is contained in:
Jan Stępień 2011-09-05 22:45:52 +02:00
parent 5d3829cfbf
commit ad1f3b5862
3 changed files with 9 additions and 1 deletions

View file

@ -32,3 +32,9 @@ Then "I should be an admin" do
# just check on the presence of the menu item for managing users
Then "I should see \"Manage users\""
end
When /^I change my password to "([^"]*)"$/ do |password|
Then 'I should be on the change password page'
%w{new confirm}.each { |name| fill_in name + ' password', :with => password }
click_button
end