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
This commit is contained in:
Toshi MARUYAMA 2012-08-21 02:15:04 +00:00
parent a5c4fcc8f0
commit ac5e3c2036
1 changed files with 4 additions and 1 deletions

View File

@ -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'))