summaryrefslogtreecommitdiffstats
path: root/test/integration/admin_test.rb
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-09-30 18:22:46 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-09-30 18:22:46 +0000
commit86ba692bf5312b37b6e30778d14daf0a675254bb (patch)
tree6e1f42db58dc520e33c1e464c88840d627b3772f /test/integration/admin_test.rb
parentd06a1a7fa47a2c3b02e9d97034e6acaf2dc5a01d (diff)
downloadredmine-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.rb2
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