From: Toshi MARUYAMA Date: Tue, 21 Aug 2012 02:23:25 +0000 (+0000) Subject: Merged r10213 from trunk X-Git-Tag: 2.0.4~20 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=004ec7a251d29acab1727615d8ccc1f81247ca21;p=redmine.git Merged r10213 from trunk add missing fixtures to test/unit/document_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.0-stable@10214 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/document_test.rb b/test/unit/document_test.rb index ba2d73de7..b2fb43141 100644 --- a/test/unit/document_test.rb +++ b/test/unit/document_test.rb @@ -18,7 +18,10 @@ require File.expand_path('../../test_helper', __FILE__) class DocumentTest < ActiveSupport::TestCase - fixtures :projects, :enumerations, :documents, :attachments + fixtures :projects, :enumerations, :documents, :attachments, + :enabled_modules, + :users, :members, :member_roles, :roles, + :groups_users def test_create doc = Document.new(:project => Project.find(1), :title => 'New document', :category => Enumeration.find_by_name('User documentation'))