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:
parent
a5c4fcc8f0
commit
ac5e3c2036
|
@ -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'))
|
||||||
|
|
Loading…
Reference in New Issue