]> source.dussan.org Git - redmine.git/commitdiff
Missing fixtures.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 27 Sep 2012 22:30:10 +0000 (22:30 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 27 Sep 2012 22:30:10 +0000 (22:30 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10496 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/project_test.rb

index 7910707b26cd2b6e85e4288915f7cc5ab3951cc3..cb374e1772d2634a0a37b08e3277b38c917164ef 100644 (file)
@@ -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