From 193ed689fb1a09b302f851d01564d451003b8fb5 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Thu, 2 Oct 2008 02:40:29 +0000 Subject: [PATCH] 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 --- test/functional/issues_controller_test.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 517aee3a8..6a4775cbd 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -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, -- 2.39.5