Merged r4070 from trunk.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.0-stable@4140 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Eric Davis
2010-09-20 03:59:57 +00:00
parent f219a92c1f
commit f74d9809fd
6 changed files with 34 additions and 31 deletions
+2 -2
View File
@@ -318,9 +318,9 @@ class ProjectsControllerTest < ActionController::TestCase
assert_template 'settings'
end
def test_edit
def test_update
@request.session[:user_id] = 2 # manager
post :edit, :id => 1, :project => {:name => 'Test changed name',
post :update, :id => 1, :project => {:name => 'Test changed name',
:issue_custom_field_ids => ['']}
assert_redirected_to 'projects/ecookbook/settings'
project = Project.find(1)