Fixed a failing assertion in test_post_edit_with_attachment_only that would

occur when running the full test suite but not the functional test suite.


git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1922 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Eric Davis 2008-10-02 02:40:29 +00:00
parent f2f54a711d
commit 193ed689fb
1 changed files with 4 additions and 0 deletions

View File

@ -495,6 +495,10 @@ class IssuesControllerTest < Test::Unit::TestCase
def test_post_edit_with_attachment_only
set_tmp_attachments_directory
# Delete all fixtured journals, a race condition can occur causing the wrong
# journal to get fetched in the next find.
Journal.delete_all
# anonymous user
post :edit,
:id => 1,