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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user