diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-02-25 17:01:05 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-02-25 17:01:05 +0000 |
commit | c68d853bf4cfd9bf60df3166317b0dcea0702461 (patch) | |
tree | 41aa3ac6841ace7e3c5ed6635a88c9fa7368c85f /test/integration/issues_test.rb | |
parent | 19d4ddf2f2158c5210a0b10cdd9934cbf93885c2 (diff) | |
download | redmine-c68d853bf4cfd9bf60df3166317b0dcea0702461.tar.gz redmine-c68d853bf4cfd9bf60df3166317b0dcea0702461.zip |
Refactor: Move the updating of an Issue to the #update method.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3486 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/issues_test.rb')
-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 0a35e139e..0c1a36d34 100644 --- a/test/integration/issues_test.rb +++ b/test/integration/issues_test.rb @@ -69,7 +69,7 @@ class IssuesTest < ActionController::IntegrationTest log_user('jsmith', 'jsmith') set_tmp_attachments_directory - post 'issues/1/edit', + put 'issues/1/edit', :notes => 'Some notes', :attachments => {'1' => {'file' => uploaded_test_file('testfile.txt', 'text/plain'), 'description' => 'This is an attachment'}} assert_redirected_to "issues/1" |