@@ -18,7 +18,9 | |||||
18 | require File.expand_path('../../test_helper', __FILE__) |
|
18 | require File.expand_path('../../test_helper', __FILE__) | |
19 |
|
19 | |||
20 | class CustomFieldTest < ActiveSupport::TestCase |
|
20 | class CustomFieldTest < ActiveSupport::TestCase | |
21 |
fixtures :custom_fields, :roles, :projects, |
|
21 | fixtures :custom_fields, :roles, :projects, | |
|
22 | :trackers, :issue_statuses, | |||
|
23 | :issues | |||
22 |
|
24 | |||
23 | def test_create |
|
25 | def test_create | |
24 | field = UserCustomField.new(:name => 'Money money money', :field_format => 'float') |
|
26 | field = UserCustomField.new(:name => 'Money money money', :field_format => 'float') |
@@ -18,7 +18,8 | |||||
18 | require File.expand_path('../../test_helper', __FILE__) |
|
18 | require File.expand_path('../../test_helper', __FILE__) | |
19 |
|
19 | |||
20 | class ProjectMembersInheritanceTest < ActiveSupport::TestCase |
|
20 | class ProjectMembersInheritanceTest < ActiveSupport::TestCase | |
21 | fixtures :roles, :users |
|
21 | fixtures :roles, :users, | |
|
22 | :projects, :trackers, :issue_statuses | |||
22 |
|
23 | |||
23 | def setup |
|
24 | def setup | |
24 | @parent = Project.generate! |
|
25 | @parent = Project.generate! |
General Comments 0
You need to be logged in to leave comments.
Login now