diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2008-10-02 02:40:29 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2008-10-02 02:40:29 +0000 |
commit | 193ed689fb1a09b302f851d01564d451003b8fb5 (patch) | |
tree | bae42cbbc4f1aba504bc5391924874566f2f22e7 /test/functional/issues_controller_test.rb | |
parent | f2f54a711dc6a9531a2249366ed7af8e666c77a0 (diff) | |
download | redmine-193ed689fb1a09b302f851d01564d451003b8fb5.tar.gz redmine-193ed689fb1a09b302f851d01564d451003b8fb5.zip |
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
Diffstat (limited to 'test/functional/issues_controller_test.rb')
-rw-r--r-- | test/functional/issues_controller_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
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, |