diff options
author | Francis Irving <francis@mysociety.org> | 2010-07-14 00:00:10 +0100 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2010-07-14 00:00:10 +0100 |
commit | d41bdd3b536b04c73e40b9a73d55fb126955f677 (patch) | |
tree | 49e41342c817ff29dbbfb6d04f9a79c141c2fe2e | |
parent | c81a4fe81836a2a4706b2986ed4e9d164c24b306 (diff) |
Use new name of action
-rw-r--r-- | spec/controllers/user_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/user_controller_spec.rb b/spec/controllers/user_controller_spec.rb index 7fc9dbf98..5d436fc9c 100644 --- a/spec/controllers/user_controller_spec.rb +++ b/spec/controllers/user_controller_spec.rb @@ -286,7 +286,7 @@ describe UserController, "when changing password" do session[:user_circumstance] = "change_password" old_hash = users(:bob_smith_user).hashed_password - post :signchange, { :user => { :password => 'ooo', :password_confirmation => 'ooo' }, + post :signchangepassword, { :user => { :password => 'ooo', :password_confirmation => 'ooo' }, :submitted_signchange_password => 1 } users(:bob_smith_user).hashed_password.should == old_hash @@ -297,7 +297,7 @@ describe UserController, "when changing password" do session[:user_circumstance] = nil old_hash = users(:bob_smith_user).hashed_password - post :signchange, { :user => { :password => 'ooo', :password_confirmation => 'ooo' }, + post :signchangepassword, { :user => { :password => 'ooo', :password_confirmation => 'ooo' }, :submitted_signchange_password => 1 } |