summaryrefslogtreecommitdiffstats
path: root/test/unit/project_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-09-27 22:30:10 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-09-27 22:30:10 +0000
commit3e7bb3c632cf7922dabbd799dd6b2895fc049e47 (patch)
tree8f0b4dc09b06e22677a3c8cdee8689a6b9fc726b /test/unit/project_test.rb
parentf1fdbf8d80d9867d707b48e0118089c201a3ced7 (diff)
downloadredmine-3e7bb3c632cf7922dabbd799dd6b2895fc049e47.tar.gz
redmine-3e7bb3c632cf7922dabbd799dd6b2895fc049e47.zip
Missing fixtures.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10496 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/project_test.rb')
-rw-r--r--test/unit/project_test.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/unit/project_test.rb b/test/unit/project_test.rb
index 7910707b2..cb374e177 100644
--- a/test/unit/project_test.rb
+++ b/test/unit/project_test.rb
@@ -34,8 +34,9 @@ class ProjectTest < ActiveSupport::TestCase
:versions,
:wikis, :wiki_pages, :wiki_contents, :wiki_content_versions,
:groups_users,
- :boards,
- :repositories
+ :boards, :messages,
+ :repositories,
+ :documents
def setup
@ecookbook = Project.find(1)
@@ -217,7 +218,7 @@ class ProjectTest < ActiveSupport::TestCase
assert_equal 0, Issue.count
assert_equal 0, Journal.count
assert_equal 0, JournalDetail.count
- assert_equal 0, Attachment.count
+ assert_equal 0, Attachment.count, "Attachments were not deleted: #{Attachment.all.inspect}"
assert_equal 0, EnabledModule.count
assert_equal 0, IssueCategory.count
assert_equal 0, IssueRelation.count