Commit b1a80523984a74ee9d9926ebf7d1b93292a5ad89
1 parent
dd793a00
Exists in
master
and in
28 other branches
ActionItem78: using new_password instead of change_password
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@638 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
config/routes.rb
... | ... | @@ -19,7 +19,7 @@ ActionController::Routing::Routes.draw do |map| |
19 | 19 | map.connect 'doc', :controller => 'doc' |
20 | 20 | |
21 | 21 | # user account controller |
22 | - map.connect 'account/change_password/:code', :controller => 'account', :action => 'change_password' | |
22 | + map.connect 'account/new_password/:code', :controller => 'account', :action => 'new_password' | |
23 | 23 | |
24 | 24 | map.connect 'account/:action', :controller => 'account' |
25 | 25 | ... | ... |
test/integration/routing_test.rb
... | ... | @@ -21,8 +21,8 @@ class RoutingTest < ActionController::IntegrationTest |
21 | 21 | assert_routing('/account', :controller => 'account', :action => 'index') |
22 | 22 | end |
23 | 23 | |
24 | - def test_change_password | |
25 | - assert_routing('/account/change_password/90dfhga7sadgd0as6saas', :controller => 'account', :action => 'change_password', :code => '90dfhga7sadgd0as6saas') | |
24 | + def test_new_password | |
25 | + assert_routing('/account/new_password/90dfhga7sadgd0as6saas', :controller => 'account', :action => 'new_password', :code => '90dfhga7sadgd0as6saas') | |
26 | 26 | end |
27 | 27 | |
28 | 28 | def test_comatose_admin | ... | ... |