diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-02-09 16:11:18 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-02-09 16:11:18 +0000 |
commit | 43a6f312edde2399c9c986ed61b1e9b0e1066db6 (patch) | |
tree | 35c765cab413a9099ef45aa5c1ca830c3d736d26 /test/integration | |
parent | 6d109258c909f71edc3a4b43843c296acf66aad0 (diff) | |
download | redmine-43a6f312edde2399c9c986ed61b1e9b0e1066db6.tar.gz redmine-43a6f312edde2399c9c986ed61b1e9b0e1066db6.zip |
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
Diffstat (limited to 'test/integration')
-rw-r--r-- | test/integration/issues_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/issues_test.rb b/test/integration/issues_test.rb index 7249ed3da..eda4ef676 100644 --- a/test/integration/issues_test.rb +++ b/test/integration/issues_test.rb @@ -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" |