@@ -18,7 +18,10 | |||||
18 | require File.expand_path('../../test_helper', __FILE__) |
|
18 | require File.expand_path('../../test_helper', __FILE__) | |
19 |
|
19 | |||
20 | class DocumentTest < ActiveSupport::TestCase |
|
20 | class DocumentTest < ActiveSupport::TestCase | |
21 | fixtures :projects, :enumerations, :documents, :attachments |
|
21 | fixtures :projects, :enumerations, :documents, :attachments, | |
|
22 | :enabled_modules, | |||
|
23 | :users, :members, :member_roles, :roles, | |||
|
24 | :groups_users | |||
22 |
|
25 | |||
23 | def test_create |
|
26 | def test_create | |
24 | doc = Document.new(:project => Project.find(1), :title => 'New document', :category => Enumeration.find_by_name('User documentation')) |
|
27 | doc = Document.new(:project => Project.find(1), :title => 'New document', :category => Enumeration.find_by_name('User documentation')) |
General Comments 0
You need to be logged in to leave comments.
Login now