diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-09-30 18:22:46 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-09-30 18:22:46 +0000 |
commit | 86ba692bf5312b37b6e30778d14daf0a675254bb (patch) | |
tree | 6e1f42db58dc520e33c1e464c88840d627b3772f /test/integration/admin_test.rb | |
parent | d06a1a7fa47a2c3b02e9d97034e6acaf2dc5a01d (diff) | |
download | redmine-86ba692bf5312b37b6e30778d14daf0a675254bb.tar.gz redmine-86ba692bf5312b37b6e30778d14daf0a675254bb.zip |
Refactor: split UsersController#edit into #edit and #update
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4230 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/admin_test.rb')
-rw-r--r-- | test/integration/admin_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/admin_test.rb b/test/integration/admin_test.rb index dd52859cf..0b736199b 100644 --- a/test/integration/admin_test.rb +++ b/test/integration/admin_test.rb @@ -35,7 +35,7 @@ class AdminTest < ActionController::IntegrationTest assert_kind_of User, logged_user assert_equal "Paul", logged_user.firstname - post "users/edit", :id => user.id, :user => { :status => User::STATUS_LOCKED } + put "users/#{user.id}/edit", :id => user.id, :user => { :status => User::STATUS_LOCKED } assert_redirected_to "/users/#{ user.id }/edit" locked_user = User.try_to_login("psmith", "psmith09") assert_equal nil, locked_user |