From: Toshi MARUYAMA Date: Tue, 21 Aug 2012 02:15:04 +0000 (+0000) Subject: add missing fixtures to test/unit/document_test.rb X-Git-Tag: 2.1.0~119 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ac5e3c20368362ba32fb9a6722063b2f879d2203;p=redmine.git add missing fixtures to test/unit/document_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10213 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/document_test.rb b/test/unit/document_test.rb index afcb53d24..285c004a9 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'))