diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-12-21 15:05:18 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-12-21 15:05:18 +0000 |
commit | 7296b569a3de2143d634f731b2ce1f18fbf08b0a (patch) | |
tree | 9434ae922a2ed983635817ebdc0841bec79b9664 /test/integration/admin_test.rb | |
parent | 7ac90722707d460934cba31452c138b614cfa400 (diff) | |
download | redmine-7296b569a3de2143d634f731b2ce1f18fbf08b0a.tar.gz redmine-7296b569a3de2143d634f731b2ce1f18fbf08b0a.zip |
Leading slash required with Rails 4.2.
git-svn-id: http://svn.redmine.org/redmine/trunk@13783 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 c3334f501..a4c9afb4b 100644 --- a/test/integration/admin_test.rb +++ b/test/integration/admin_test.rb @@ -45,7 +45,7 @@ class AdminTest < Redmine::IntegrationTest assert_kind_of User, logged_user assert_equal "Paul", logged_user.firstname - put "users/#{user.id}", :id => user.id, :user => { :status => User::STATUS_LOCKED } + put "/users/#{user.id}", :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 |