Merged IssuesController #edit and #update into a single actions.
Users with 'edit issues' permission can now update any property including custom fields when adding a note or changing the status (#519, #581, #587). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1129 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -48,7 +48,7 @@ class IssuesTest < ActionController::IntegrationTest
|
||||
def test_issue_attachements
|
||||
log_user('jsmith', 'jsmith')
|
||||
|
||||
post 'issues/update/1',
|
||||
post 'issues/edit/1',
|
||||
:notes => 'Some notes',
|
||||
:attachments => ([] << ActionController::TestUploadedFile.new(Test::Unit::TestCase.fixture_path + '/files/testfile.txt', 'text/plain'))
|
||||
assert_redirected_to "issues/show/1"
|
||||
|
||||
Reference in New Issue
Block a user