summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-08-21 02:25:58 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-08-21 02:25:58 +0000
commit7e6cc2f583094f73f7657a6cfe3ba555c1b134ee (patch)
treef61133ef9ab06002880d3c7a5a37b7f322bc52c1
parent16383ed38619e322b4782e909ef09e579cae2f9b (diff)
downloadredmine-7e6cc2f583094f73f7657a6cfe3ba555c1b134ee.tar.gz
redmine-7e6cc2f583094f73f7657a6cfe3ba555c1b134ee.zip
Merged r10213 from trunk
add missing fixtures to test/unit/document_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@10215 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--test/unit/document_test.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/unit/document_test.rb b/test/unit/document_test.rb
index c3925f246..aa3026fa8 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'))