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
This commit is contained in:
1 parent
16383ed386
commit
7e6cc2f583
1 file changed
+4
-1
@@ -18,7 +18,10 @@
|
|||||||
require File.expand_path('../../test_helper', __FILE__)
|
require File.expand_path('../../test_helper', __FILE__)
|
||||||
|
|
||||||
class DocumentTest < ActiveSupport::TestCase
|
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
|
def test_create
|
||||||
doc = Document.new(:project => Project.find(1), :title => 'New document', :category => Enumeration.find_by_name('User documentation'))
|
doc = Document.new(:project => Project.find(1), :title => 'New document', :category => Enumeration.find_by_name('User documentation'))
|
||||||
|
|||||||
Reference in new issue
Block a user