tests AttachmentsController
fixtures :users, :email_addresses, :projects, :roles, :members, :member_roles,
:enabled_modules, :projects_trackers, :issue_statuses, :enumerations,
- :issues, :trackers, :versions
+ :issues, :trackers, :versions,
+ :custom_fields, :custom_fields_trackers, :custom_fields_projects
def setup
User.current = nil
fixtures :projects, :roles, :users, :members, :member_roles,
:trackers,
:issue_statuses, :issue_categories, :issue_relations, :workflows,
- :enumerations
+ :enumerations,
+ :custom_fields, :custom_fields_trackers, :custom_fields_projects
def test_user_role_should_reject_blank_values
field = IssueCustomField.new(:name => 'Foo', :field_format => 'user', :user_role => ["1", ""])