Skip to content

Next round of moving all factories from project -> entity

Sign in for the full log view
GitHub Actions / rubocop failed Aug 10, 2023 in 1s

reviewdog [rubocop] report

reported by reviewdog 🐶

Findings (36)

modules/backlogs/spec/controllers/versions_controller_spec.rb|39 col 55| [Correctable] FactoryBot/CreateList: Prefer create_list.
modules/backlogs/spec/features/work_packages/filter_spec.rb|53 col 62| [Correctable] FactoryBot/CreateList: Prefer create_list.
modules/budgets/spec/features/work_package_filter_spec.rb|39 col 62| [Correctable] FactoryBot/CreateList: Prefer create_list.
modules/budgets/spec/models/labor_budget_item_spec.rb|46 col 62| [Correctable] FactoryBot/CreateList: Prefer create_list.
modules/costs/spec/models/cost_entry_spec.rb|109 col 21| [Correctable] RSpec/DescribedClass: Use described_class instead of CostEntry.
modules/costs/spec/models/cost_entry_spec.rb|121 col 21| [Correctable] RSpec/DescribedClass: Use described_class instead of CostEntry.
modules/costs/spec/models/cost_entry_spec.rb|133 col 21| [Correctable] RSpec/DescribedClass: Use described_class instead of CostEntry.
modules/costs/spec/models/cost_entry_spec.rb|145 col 21| [Correctable] RSpec/DescribedClass: Use described_class instead of CostEntry.
modules/costs/spec/models/projects/scopes/visible_with_activated_time_activity_spec.rb|39 col 61| [Correctable] FactoryBot/CreateList: Prefer 1.times.map.
modules/costs/spec/models/projects/scopes/visible_with_activated_time_activity_spec.rb|40 col 67| [Correctable] FactoryBot/CreateList: Prefer 1.times.map.
modules/costs/spec/models/time_entry_spec.rb|78 col 62| [Correctable] FactoryBot/CreateList: Prefer create_list.
modules/costs/spec/requests/api/time_entries/available_projects_resource_spec.rb|44 col 30| [Correctable] FactoryBot/CreateList: Prefer create_list.
modules/costs/spec/requests/api/time_entries/available_projects_resource_spec.rb|49 col 30| [Correctable] FactoryBot/CreateList: Prefer create_list.
modules/costs/spec/requests/api/time_entries/available_projects_resource_spec.rb|54 col 30| [Correctable] FactoryBot/CreateList: Prefer create_list.
modules/costs/spec/requests/api/time_entries/available_projects_resource_spec.rb|59 col 30| [Correctable] FactoryBot/CreateList: Prefer create_list.
modules/costs/spec/requests/api/time_entries/available_projects_resource_spec.rb|64 col 30| [Correctable] FactoryBot/CreateList: Prefer create_list.
modules/costs/spec/requests/api/time_entries/update_form_resource_spec.rb|199 col 64| [Correctable] FactoryBot/CreateList: Prefer 1.times.map.
spec/controllers/groups_controller_spec.rb|117 col 57| [Correctable] FactoryBot/CreateList: Prefer create_list.
spec/controllers/users_controller_spec.rb|898 col 23| [Correctable] FactoryBot/CreateList: Prefer create_list.
spec/controllers/wiki_menu_authentication_spec.rb|51 col 54| RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
spec/features/members/membership_spec.rb|68 col 3| RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
spec/features/members/membership_spec.rb|69 col 3| RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
spec/features/members/membership_spec.rb|70 col 3| RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
spec/features/placeholder_users/delete_spec.rb|80 col 76| [Correctable] FactoryBot/CreateList: Prefer create_list.
spec/features/work_packages/table/invalid_query_spec.rb|12 col 62| [Correctable] FactoryBot/CreateList: Prefer create_list.
spec/models/activities/fetcher_integration_spec.rb|159 col 69| [Correctable] FactoryBot/CreateList: Prefer 1.times.map.
spec/models/activities/fetcher_integration_spec.rb|200 col 71| [Correctable] FactoryBot/CreateList: Prefer create_list.
spec/models/work_package_spec.rb|162 col 78| [Correctable] FactoryBot/CreateList: Prefer create_list.
spec/requests/api/v3/versions/available_projects_resource_spec.rb|40 col 28| [Correctable] FactoryBot/CreateList: Prefer 1.times.map.
spec/requests/api/v3/versions/available_projects_resource_spec.rb|45 col 30| [Correctable] FactoryBot/CreateList: Prefer 1.times.map.
spec/requests/api/v3/versions/available_projects_resource_spec.rb|50 col 30| [Correctable] FactoryBot/CreateList: Prefer create_list.
spec/services/members/cleanup_service_integration_spec.rb|58 col 66| [Correctable] FactoryBot/CreateList: Prefer create_list.
spec/services/members/cleanup_service_integration_spec.rb|109 col 66| [Correctable] FactoryBot/CreateList: Prefer create_list.
spec/services/members/cleanup_service_integration_spec.rb|122 col 66| [Correctable] FactoryBot/CreateList: Prefer create_list.
spec/services/work_packages/copy_service_integration_spec.rb|174 col 36| [Correctable] FactoryBot/CreateList: Prefer create_list.
spec/services/work_packages/update_service_integration_spec.rb|123 col 65| [Correctable] FactoryBot/CreateList: Prefer 1.times.map.

Filtered Findings (725)

app/controllers/users_controller.rb|90 col 3| Metrics/AbcSize: Assignment Branch Condition size for create is too high. [<4, 17, 3> 17.72/17]
app/controllers/users_controller.rb|106 col 3| Metrics/AbcSize: Assignment Branch Condition size for update is too high. [<13, 34, 10> 37.75/17]
app/controllers/users_controller.rb|106 col 3| Metrics/PerceivedComplexity: Perceived complexity for update is too high. [11/8]
app/controllers/users_controller.rb|158 col 3| Metrics/AbcSize: Assignment Branch Condition size for change_status is too high. [<5, 42, 14> 44.55/17]
app/controllers/users_controller.rb|158 col 3| Metrics/PerceivedComplexity: Perceived complexity for change_status is too high. [14/8]
app/controllers/users_controller.rb|197 col 3| Metrics/AbcSize: Assignment Branch Condition size for resend_invitation is too high. [<4, 24, 4> 24.66/17]
app/controllers/users_controller.rb|314 col 3| Metrics/AbcSize: Assignment Branch Condition size for build_user_update_params is too high. [<3, 24, 3> 24.37/17]
app/models/permitted_params.rb|332 col 3| Metrics/AbcSize: Assignment Branch Condition size for enumerations is too high. [<8, 29, 6> 30.68/17]
app/models/permitted_params.rb|411 col 3| Lint/IneffectiveAccessModifier: protected (on line 386) does not make singleton methods protected. Use protected inside a class << self block instead.
app/models/permitted_params.rb|412 col 5| [Correctable] Naming/MemoizedInstanceVariableName: Memoized variable @whitelisted_params does not match method name permitted_attributes. Use @permitted_attributes instead.
app/models/permitted_params.rb|622 col 3| Lint/IneffectiveAccessModifier: protected (on line 386) does not make singleton methods protected. Use protected inside a class << self block instead.
app/models/principal.rb|43 col 3| Rails/InverseOf: Specify an :inverse_of option.
app/models/principal.rb|47 col 3| Rails/InverseOf: Specify an :inverse_of option.
app/models/principal.rb|60 col 3| Rails/InverseOf: Specify an :inverse_of option.
app/models/project.rb|72 col 3| Rails/HasAndBelongsToMany: Prefer has_many :through to has_and_belongs_to_many.
app/models/project.rb|75 col 3| Rails/HasManyOrHasOneDependent: Specify a :dependent option.
app/models/project.rb|75 col 3| Rails/InverseOf: Specify an :inverse_of option.
app/models/project.rb|80 col 3| Rails/InverseOf: Specify an :inverse_of option.
app/models/project.rb|86 col 3| Rails/InverseOf: Specify an :inverse_of option.
app/models/project.rb|87 col 3| Rails/InverseOf: Specify an :inverse_of option.
app/models/project.rb|88 col 3| Rails/InverseOf: Specify an :inverse_of option.
app/models/project.rb|93 col 3| Rails/HasAndBelongsToMany: Prefer has_many :through to has_and_belongs_to_many.
app/models/project.rb|388 col 5| Metrics/AbcSize: Assignment Branch Condition size for build_projects_hierarchy is too high. [<8, 23, 6> 25.08/17]
app/models/user.rb|46 col 3| Rails/InverseOf: Specify an :inverse_of option.
app/models/user.rb|67 col 3| Rails/HasManyOrHasOneDependent: Specify a :dependent option.
app/models/user.rb|67 col 3| Rails/InverseOf: Specify an :inverse_of option.
app/models/user.rb|72 col 3| Rails/HasManyOrHasOneDependent: Specify a :dependent option.
app/models/user.rb|102 col 35| [Correctable] Rails/TimeZone: Do not use Time.now without zone. Use one of Time.zone.now, Time.current, Time.now.in_time_zone, Time.now.utc, Time.now.getlocal, Time.now.xmlschema, Time.now.iso8601, Time.now.jisx0301, Time.now.rfc3339, Time.now.httpdate, Time.now.to_i, Time.now.to_f instead.
app/models/user.rb|209 col 3| Metrics/PerceivedComplexity: Perceived complexity for try_authentication_for_existing_user is too high. [10/8]
app/models/user.rb|228 col 15| [Correctable] Rails/DynamicFindBy: Use find_by instead of dynamic find_by_plaintext_value.
app/models/user.rb|264 col 13| [Correctable] Rails/DynamicFindBy: Use find_by instead of dynamic find_by_plaintext_value.
app/models/user.rb|283 col 5| Lint/DuplicateBranch: Duplicate branch body detected.
app/models/user.rb|383 col 43| [Correctable] Rails/TimeZone: Do not use Time.now without zone. Use one of Time.zone.now, Time.current, Time.now.in_time_zone, Time.now.utc, Time.now.getlocal, Time.now.xmlschema, Time.now.iso8601, Time.now.jisx0301, Time.now.rfc3339, Time.now.httpdate, Time.now.to_i, Time.now.to_f instead.
app/models/user.rb|411 col 13| [Correctable] Rails/DynamicFindBy: Use find_by instead of dynamic find_by_plaintext_value.
app/models/user.rb|455 col 12| [Correctable] Rails/Date: Do not use Date.today without zone. Use Time.zone.today instead.
app/models/user.rb|544 col 3| Metrics/AbcSize: Assignment Branch Condition size for anonymous is too high. [<9, 15, 3> 17.75/17]
app/models/user.rb|613 col 3| Lint/IneffectiveAccessModifier: private (on line 611) does not make singleton methods private. Use private_class_method or private inside a class << self block instead.
app/models/user.rb|642 col 16| [Correctable] Style/SlicingWithRange: Prefer ary[n..] over ary[n..-1].
app/models/user.rb|652 col 3| Lint/IneffectiveAccessModifier: private (on line 611) does not make singleton methods private. Use private_class_method or private inside a class << self block instead.
app/models/user.rb|660 col 3| Lint/IneffectiveAccessModifier: private (on line 611) does not make singleton methods private. Use private_class_method or private inside a class << self block instead.
app/models/user.rb|661 col 12| [Correctable] Rails/DynamicFindBy: Use find_by instead of dynamic find_by_login.
app/models/user.rb|666 col 3| Lint/IneffectiveAccessModifier: private (on line 611) does not make singleton methods private. Use private_class_method or private inside a class << self block instead.
app/models/user.rb|670 col 3| Lint/IneffectiveAccessModifier: private (on line 611) does not make singleton methods private. Use private_class_method or private inside a class << self block instead.
app/models/user.rb|686 col 12| [Correctable] Rails/TimeZone: Do not use Time.now without zone. Use one of Time.zone.now, Time.current, Time.now.in_time_zone, Time.now.utc, Time.now.getlocal, Time.now.xmlschema, Time.now.iso8601, Time.now.jisx0301, Time.now.rfc3339, Time.now.httpdate, Time.now.to_i, Time.now.to_f instead.
app/models/user.rb|698 col 38| [Correctable] Rails/TimeZone: Do not use Time.now without zone. Use one of Time.zone.now, Time.current, Time.now.in_time_zone, Time.now.utc, Time.now.getlocal, Time.now.xmlschema, Time.now.iso8601, Time.now.jisx0301, Time.now.rfc3339, Time.now.httpdate, Time.now.to_i, Time.now.to_f instead.
app/models/user.rb|701 col 3| Lint/IneffectiveAccessModifier: private (on line 611) does not make singleton methods private. Use private_class_method or private inside a class << self block instead.
app/models/user.rb|702 col 6| [Correctable] Rails/DynamicFindBy: Use find_by instead of dynamic find_by_login.
modules/backlogs/spec/controllers/versions_controller_spec.rb|51 col 5| Naming/VariableName: Use snake_case for variable names.
modules/backlogs/spec/controllers/versions_controller_spec.rb|52 col 5| Naming/VariableName: Use snake_case for variable names.
modules/backlogs/spec/controllers/versions_controller_spec.rb|56 col 5| RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
modules/backlogs/spec/controllers/versions_controller_spec.rb|57 col 5| RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
modules/backlogs/spec/controllers/versions_controller_spec.rb|57 col 33| RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
modules/backlogs/spec/controllers/versions_controller_spec.rb|63 col 7| RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
modules/backlogs/spec/controllers/versions_controller_spec.rb|64 col 31| RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
modules/backlogs/spec/controllers/versions_controller_spec.rb|68 col 34| RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
modules/backlogs/spec/controllers/versions_controller_spec.rb|72 col 7| RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
modules/backlogs/spec/controllers/versions_controller_spec.rb|73 col 31| RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
modules/backlogs/spec/controllers/versions_controller_spec.rb|77 col 34| RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
modules/backlogs/spec/features/stories_in_backlog_spec.rb|67 col 3| RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
modules/backlogs/spec/features/stories_in_backlog_spec.rb|90 col 3| RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
modules/backlogs/spec/features/stories_in_backlog_spec.rb|109 col 29| [Correctable] Rails/Date: Do not use Date.today without zone. Use Time.zone.today instead.
modules/backlogs/spec/features/stories_in_backlog_spec.rb|110 col 33| [Correctable] Rails/Date: Do not use Date.today without zone. Use Time.zone.today instead.
modules/backlogs/spec/features/tasks_on_taskboard_spec.rb|68 col 3| RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
modules/backlogs/spec/features/tasks_on_taskboard_spec.rb|108 col 3| RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
modules/backlogs/spec/features/tasks_on_taskboard_spec.rb|120 col 29| [Correctable] Rails/Date: Do not use Date.today without zone. Use Time.zone.today instead.
modules/backlogs/spec/features/tasks_on_taskboard_spec.rb|121 col 33| [Correctable] Rails/Date: Do not use Date.today without zone. Use Time.zone.today instead.
modules/backlogs/spec/models/task_spec.rb|104 col 13| RSpec/ContextWording: Context description should match /^and\b/, /^as\b/, /^for\b/, /^having\b/, /^if\b/, /^on\b/, /^to\b/, /^unless\b/, /^via\b/, /^when\b/, /^with\b/, /^within\b/, or /^without\b/.
modules/backlogs/spec/models/task_spec.rb|117 col 13| RSpec/ContextWording: Context description should match /^and\b/, /^as\b/, /^for\b/, /^having\b/, /^if\b/, /^on\b/, /^to\b/, /^unless\b/, /^via\b/, /^when\b/, /^with\b/, /^within\b/, or /^without\b/.
modules/backlogs/spec/models/task_spec.rb|130 col 13| RSpec/ContextWording: Context description should match /^and\b/, /^as\b/, /^for\b/, /^having\b/, /^if\b/, /^on\b/, /^to\b/, /^unless\b/, /^via\b/, /^when\b/, /^with\b/, /^within\b/, or /^without\b/.
modules/backlogs/spec/services/impediments/update_service_spec.rb|61 col 3| RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
modules/backlogs/spec/services/impediments/update_service_spec.rb|62 col 3| RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
modules/backlogs/spec/services/stories/create_service_spec.rb|48 col 5| [Correctable] RSpec/DescribedClass: Use described_class instead of Stories::CreateService.
modules/backlogs/spec/views/rb_burndown_charts/show_spec.rb|32 col 3| RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
modules/backlogs/spec/views/rb_burndown_charts/show_spec.rb|33 col 3| RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
modules/backlogs/spec/views/rb_burndown_charts/show_spec.rb|77 col 48| [Correctable] Rails/Date: Do not use Date.today without zone. Use Time.zone.today instead.
modules/backlogs/spec/views/rb_burndown_charts/show_spec.rb|77 col 85| [Correctable] Rails/Date: Do not use Date.today without zone. Use Time.zone.today instead.
modules/backlogs/spec/views/rb_master_backlogs/index.html.erb_spec.rb|31 col 1| [Correctable] RSpec/EmptyExampleGroup: Empty example group detected.
modules/backlogs/spec/views/rb_taskboards/show_spec.rb|32 col 3| RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
modules/backlogs/spec/views/rb_taskboards/show_spec.rb|33 col 3| RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
modules/bim/spec/bcf/bcf_xml/importer_spec.rb|77 col 15| RSpec/ContextWording: Context description should match /^and\b/, /^as\b/, /^for\b/, /^having\b/, /^if\b/, /^on\b/, /^to\b/, /^unless\b/, /^via\b/, /^when\b/, /^with\b/, /^within\b/, or /^without\b/.
modules/bim/spec/bcf/bcf_xml/importer_spec.rb|81 col 15| RSpec/ContextWording: Context description should match /^and\b/, /^as\b/, /^for\b/, /^having\b/, /^if\b/, /^on\b/, /^to\b/, /^unless\b/, /^via\b/, /^when\b/, /^with\b/, /^within\b/, or /^without\b/.
modules/bim/spec/bcf/bcf_xml/issue_reader_spec.rb|117 col 13| RSpec/ContextWording: Context description should match /^and\b/, /^as\b/, /^for\b/, /^having\b/, /^if\b/, /^on\b/, /^to\b/, /^unless\b/, /^via\b/, /^when\b/, /^with\b/, /^within\b/, or /^without\b/.
modules/bim/spec/bcf/bcf_xml/issue_reader_spec.rb|156 col 9| RSpec/SubjectStub: Do not stub methods of the object under test.
modules/bim/spec/bcf/bcf_xml/issue_reader_spec.rb|160 col 30| [Correctable] Rails/TimeZone: Do not use Time.now without zone. Use one of Time.zone.now, Time.current, Time.now.in_time_zone, Time.now.utc, Time.now.getlocal, Time.now.xmlschema, Time.now.iso8601, Time.now.jisx0301, Time.now.rfc3339, Time.now.httpdate, Time.now.to_i, Time.now.to_f instead.
modules/bim/spec/bcf/bcf_xml/issue_reader_spec.rb|162 col 9| RSpec/SubjectStub: Do not stub methods of the object under test.
modules/bim/spec/bcf/bcf_xml/issue_reader_spec.rb|162 col 28| RSpec/MessageSpies: Prefer have_received for setting message expectations. Setup subject as a spy using allow or instance_spy.
modules/bim/spec/controllers/issues_controller_spec.rb|64 col 15| RSpec/ContextWording: Context description should match /^and\b/, /^as\b/, /^for\b/, /^having\b/, /^if\b/, /^on\b/, /^to\b/, /^unless\b/, /^via\b/, /^when\b/, /^with\b/, /^within\b/, or /^without\b/.
modules/bim/spec/controllers/issues_controller_spec.rb|65 col 9| Lint/EmptyBlock: Empty block detected.
modules/bim/spec/controllers/issues_controller_spec.rb|72 col 15| RSpec/ContextWording: Context description should match /^and\b/, /^as\b/, /^for\b/, /^having\b/, /^if\b/, /^on\b/, /^to\b/, /^unless\b/, /^via\b/, /^when\b/, /^with\b/, /^within\b/, or /^without\b/.
modules/bim/spec/controllers/issues_controller_spec.rb|108 col 30| [Correctable] RSpec/ExpectChange: Prefer change(Attachment, :count).
modules/bim/spec/controllers/issues_controller_spec.rb|119 col 34| [Correctable] RSpec/ExpectChange: Prefer change(Attachment, :count).
modules/bim/spec/controllers/issues_controller_spec.rb|140 col 9| RSpec/AnyInstance: Avoid stubbing using allow_any_instance_of.
modules/bim/spec/controllers/issues_controller_spec.rb|145 col 34| [Correctable] RSpec/ExpectChange: Prefer change(Attachment, :count).
modules/bim/spec/controllers/issues_controller_spec.rb|168 col 9| RSpec/AnyInstance: Avoid stubbing using allow_any_instance_of.
modules/bim/spec/controllers/issues_controller_spec.rb|173 col 34| [Correctable] RSpec/ExpectChange: Prefer change(Attachment, :count).
modules/bim/spec/requests/api/bcf/v2_1/projects_api_spec.rb|72 col 13| RSpec/ContextWording: Context description should match /^and\b/, /^as\b/, /^for\b/, /^having\b/, /^if\b/, /^on\b/, /^to\b/, /^unless\b/, /^via\b/, /^when\b/, /^with\b/, /^within\b/, or /^without\b/.
modules/bim/spec/requests/api/bcf/v2_1/projects_api_spec.rb|103 col 13| RSpec/ContextWording: Context description should match /^and\b/, /^as\b/, /^for\b/, /^having\b/, /^if\b/, /^on\b/, /^to\b/, /^unless\b/, /^via\b/, /^when\b/, /^with\b/, /^within\b/, or /^without\b/.
modules/bim/spec/requests/api/bcf/v2_1/projects_api_spec.rb|109 col 13| RSpec/ContextWording: Context description should match /^and\b/, /^as\b/, /^for\b/, /^having\b/, /^if\b/, /^on\b/, /^to\b/, /^unless\b/, /^via\b/, /^when\b/, /^with\b/, /^within\b/, or /^without\b/.
modules/bim/spec/requests/api/bcf/v2_1/projects_api_spec.rb|115 col 13| RSpec/ContextWording: Context description should match /^and\b/, /^as\b/, /^for\b/, /^having\b/, /^if\b/, /^on\b/, /^to\b/, /^unless\b/, /^via\b/, /^when\b/, /^with\b/, /^within\b/, or /^without\b/.
modules/boards/spec/features/action_boards/assignee_board_spec.rb|82 col 11| RSpec/ContextWording: Context description should match /^and\b/, /^as\b/, /^for\b/, /^having\b/, /^if\b/, /^on\b/, /^to\b/, /^unless\b/, /^via\b/, /^when\b/, /^with\b/, /^within\b/, or /^without\b/.
modules/boards/spec/features/action_boards/assignee_board_spec.rb|189 col 11| RSpec/ContextWording: Context description should match /^and\b/, /^as\b/, /^for\b/, /^having\b/, /^if\b/, /^on\b/, /^to\b/, /^unless\b/, /^via\b/, /^when\b/, /^with\b/, /^within\b/, or /^without\b/.
modules/boards/spec/queries/grids/query_integration_spec.rb|65 col 13| RSpec/ContextWording: Context description should match /^and\b/, /^as\b/, /^for\b/, /^having\b/, /^if\b/, /^on\b/, /^to\b/, /^unless\b/, /^via\b/, /^when\b/, /^with\b/, /^within\b/, or /^without\b/.
modules/boards/spec/requests/api/v3/grids/grids_resource_spec.rb|172 col 7| Lint/EmptyBlock: Empty block detected.
modules/boards/spec/requests/api/v3/grids/grids_resource_spec.rb|261 col 64| [Correctable] Rails/Pluck: Prefer pluck('message') over map { |e| e['message'] }.
modules/boards/spec/requests/api/v3/grids/grids_resource_spec.rb|392 col 64| [Correctable] Rails/Pluck: Prefer pluck('message') over map { |e| e['message'] }.
modules/budgets/spec/models/labor_budget_item_spec.rb|29 col 9| [Correctable] Style/StringConcatenation: Prefer string interpolation to string concatenation.
modules/budgets/spec/models/labor_budget_item_spec.rb|38 col 43| [Correctable] Rails/Date: Do not use Date.today without zone. Use Time.zone.today instead.
modules/budgets/spec/models/labor_budget_item_spec.rb|45 col 7| Naming/PredicateName: Rename is_member to member?.
modules/budgets/spec/models/labor_budget_item_spec.rb|200 col 12| [Correctable] RSpec/PredicateMatcher: Prefer using be_costs_visible_by matcher over costs_visible_by?.
modules/budgets/spec/models/labor_budget_item_spec.rb|211 col 12| [Correctable] RSpec/PredicateMatcher: Prefer using be_costs_visible_by matcher over costs_visible_by?.
modules/budgets/spec/models/labor_budget_item_spec.rb|222 col 12| [Correctable] RSpec/PredicateMatcher: Prefer using be_costs_visible_by matcher over costs_visible_by?.
modules/budgets/spec/models/labor_budget_item_spec.rb|233 col 12| [Correctable] RSpec/PredicateMatcher: Prefer using be_costs_visible_by matcher over costs_visible_by?.
modules/costs/spec/models/cost_entry_spec.rb|29 col 26| [Correctable] Style/StringConcatenation: Prefer string interpolation to string concatenation.
modules/costs/spec/models/cost_entry_spec.rb|48 col 17| [Correctable] RSpec/DescribedClass: Use described_class instead of CostEntry.
modules/costs/spec/models/cost_entry_spec.rb|96 col 21| [Correctable] Rails/Date: Do not use Date.today without zone. Use Time.zone.today instead.
modules/costs/spec/models/cost_entry_spec.rb|231 col 37| [Correctable] Rails/Date: Do not use Date.today without zone. Use Time.zone.today instead.
modules/costs/spec/models/cost_entry_spec.rb|384 col 14| [Correctable] RSpec/PredicateMatcher: Prefer using be_editable_by matcher over editable_by?.
modules/costs/spec/models/cost_entry_spec.rb|393 col 14| [Correctable] RSpec/PredicateMatcher: Prefer using be_editable_by matcher over editable_by?.
modules/costs/spec/models/cost_entry_spec.rb|404 col 14| [Correctable] RSpec/PredicateMatcher: Prefer using be_editable_by matcher over editable_by?.
modules/costs/spec/models/cost_entry_spec.rb|415 col 14| [Correctable] RSpec/PredicateMatcher: Prefer using be_editable_by matcher over editable_by?.
modules/costs/spec/models/cost_entry_spec.rb|426 col 14| [Correctable] RSpec/PredicateMatcher: Prefer using be_editable_by matcher over editable_by?.
modules/costs/spec/models/cost_entry_spec.rb|437 col 14| [Correctable] RSpec/PredicateMatcher: Prefer using be_creatable_by matcher over creatable_by?.
modules/costs/spec/models/cost_entry_spec.rb|446 col 14| [Correctable] RSpec/PredicateMatcher: Prefer using be_creatable_by matcher over creatable_by?.
modules/costs/spec/models/cost_entry_spec.rb|455 col 14| [Correctable] RSpec/PredicateMatcher: Prefer using be_creatable_by matcher over creatable_by?.
modules/costs/spec/models/cost_entry_spec.rb|464 col 14| [Correctable] RSpec/PredicateMatcher: Prefer using be_creatable_by matcher over creatable_by?.
modules/costs/spec/models/cost_entry_spec.rb|473 col 14| [Correctable] RSpec/PredicateMatcher: Prefer using be_creatable_by matcher over creatable_by?.
modules/costs/spec/models/cost_entry_spec.rb|484 col 14| [Correctable] RSpec/PredicateMatcher: Prefer using be_costs_visible_by matcher over costs_visible_by?.
modules/costs/spec/models/cost_entry_spec.rb|493 col 14| [Correctable] RSpec/PredicateMatcher: Prefer using be_costs_visible_by matcher over costs_visible_by?.
modules/costs/spec/models/cost_entry_spec.rb|504 col 14| [Correctable] RSpec/PredicateMatcher: Prefer using be_costs_visible_by matcher over costs_visible_by?.
modules/costs/spec/models/cost_entry_spec.rb|514 col 14| [Correctable] RSpec/PredicateMatcher: Prefer using be_costs_visible_by matcher over costs_visible_by?.
modules/costs/spec/models/time_entry_spec.rb|46 col 21| [Correctable] Rails/Date: Do not use Date.today without zone. Use Time.zone.today instead.
modules/costs/spec/models/time_entry_spec.rb|77 col 7| Naming/PredicateName: Rename is_member to member?.
modules/costs/spec/models/time_entry_spec.rb|101 col 13| [Correctable] RSpec/DescribedClass: Use described_class instead of TimeEntry.
modules/costs/spec/models/time_entry_spec.rb|134 col 34| [Correctable] Rails/TimeZone: Do not use Time.now without zone. Use one of Time.zone.now, Time.current, Time.now.in_time_zone, Time.now.utc, Time.now.getlocal, Time.now.xmlschema, Time.now.iso8601, Time.now.jisx0301, Time.now.rfc3339, Time.now.httpdate, Time.now.to_i, Time.now.to_f instead.
modules/costs/spec/models/time_entry_spec.rb|168 col 33| [Correctable] Rails/Date: Do not use Date.today without zone. Use Time.zone.today instead.
modules/costs/spec/models/time_entry_spec.rb|207 col 9| RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
modules/costs/spec/models/time_entry_spec.rb|208 col 9| RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
modules/costs/spec/models/time_entry_spec.rb|209 col 16| RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
modules/costs/spec/models/time_entry_spec.rb|209 col 46| RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
modules/costs/spec/models/time_entry_spec.rb|214 col 7| RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
modules/costs/spec/models/time_entry_spec.rb|215 col 7| RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
modules/costs/spec/models/time_entry_spec.rb|215 col 40| [Correctable] Rails/TimeZone: Do not use Time.now without zone. Use one of Time.zone.now, Time.current, Time.now.in_time_zone, Time.now.utc, Time.now.getlocal, Time.now.xmlschema, Time.now.iso8601, Time.now.jisx0301, Time.now.rfc3339, Time.now.httpdate, Time.now.to_i, Time.now.to_f instead.
modules/costs/spec/models/time_entry_spec.rb|216 col 7| RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
modules/costs/spec/models/time_entry_spec.rb|217 col 7| RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
modules/costs/spec/models/time_entry_spec.rb|218 col 14| RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
modules/costs/spec/models/time_entry_spec.rb|224 col 7| RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
modules/costs/spec/models/time_entry_spec.rb|225 col 14| RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
modules/costs/spec/models/time_entry_spec.rb|226 col 14| RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
modules/costs/spec/models/time_entry_spec.rb|230 col 7| RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
modules/costs/spec/models/time_entry_spec.rb|231 col 7| RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
... (Too many findings. Dropped some findings)

Annotations

Check failure on line 39 in modules/backlogs/spec/controllers/versions_controller_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/backlogs/spec/controllers/versions_controller_spec.rb#L39

[Correctable] FactoryBot/CreateList: Prefer create_list.
Raw output
modules/backlogs/spec/controllers/versions_controller_spec.rb:39:55: C: [Correctable] FactoryBot/CreateList: Prefer create_list.
      create(:member, principal: current_user, roles: [create(:role, permissions: [:manage_versions])], entity: p)
                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check failure on line 53 in modules/backlogs/spec/features/work_packages/filter_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/backlogs/spec/features/work_packages/filter_spec.rb#L53

[Correctable] FactoryBot/CreateList: Prefer create_list.
Raw output
modules/backlogs/spec/features/work_packages/filter_spec.rb:53:62: C: [Correctable] FactoryBot/CreateList: Prefer create_list.
    create(:member, principal: user, entity: project, roles: [create(:role)])
                                                             ^^^^^^^^^^^^^^^

Check failure on line 39 in modules/budgets/spec/features/work_package_filter_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/budgets/spec/features/work_package_filter_spec.rb#L39

[Correctable] FactoryBot/CreateList: Prefer create_list.
Raw output
modules/budgets/spec/features/work_package_filter_spec.rb:39:62: C: [Correctable] FactoryBot/CreateList: Prefer create_list.
    create(:member, principal: user, entity: project, roles: [create(:role)])
                                                             ^^^^^^^^^^^^^^^

Check failure on line 46 in modules/budgets/spec/models/labor_budget_item_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/budgets/spec/models/labor_budget_item_spec.rb#L46

[Correctable] FactoryBot/CreateList: Prefer create_list.
Raw output
modules/budgets/spec/models/labor_budget_item_spec.rb:46:62: C: [Correctable] FactoryBot/CreateList: Prefer create_list.
    create(:member, entity: project, principal: user, roles: [create(:role, permissions:)])
                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check failure on line 109 in modules/costs/spec/models/cost_entry_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/costs/spec/models/cost_entry_spec.rb#L109

[Correctable] RSpec/DescribedClass: Use described_class instead of CostEntry.
Raw output
modules/costs/spec/models/cost_entry_spec.rb:109:21: C: [Correctable] RSpec/DescribedClass: Use described_class instead of CostEntry.
        it { expect(CostEntry.visible(user2, project)).to contain_exactly(cost_entry) }
                    ^^^^^^^^^

Check failure on line 121 in modules/costs/spec/models/cost_entry_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/costs/spec/models/cost_entry_spec.rb#L121

[Correctable] RSpec/DescribedClass: Use described_class instead of CostEntry.
Raw output
modules/costs/spec/models/cost_entry_spec.rb:121:21: C: [Correctable] RSpec/DescribedClass: Use described_class instead of CostEntry.
        it { expect(CostEntry.visible(user2, project)).to be_empty }
                    ^^^^^^^^^

Check failure on line 133 in modules/costs/spec/models/cost_entry_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/costs/spec/models/cost_entry_spec.rb#L133

[Correctable] RSpec/DescribedClass: Use described_class instead of CostEntry.
Raw output
modules/costs/spec/models/cost_entry_spec.rb:133:21: C: [Correctable] RSpec/DescribedClass: Use described_class instead of CostEntry.
        it { expect(CostEntry.visible(user2, project)).to be_empty }
                    ^^^^^^^^^

Check failure on line 145 in modules/costs/spec/models/cost_entry_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/costs/spec/models/cost_entry_spec.rb#L145

[Correctable] RSpec/DescribedClass: Use described_class instead of CostEntry.
Raw output
modules/costs/spec/models/cost_entry_spec.rb:145:21: C: [Correctable] RSpec/DescribedClass: Use described_class instead of CostEntry.
        it { expect(CostEntry.visible(cost_entry2.user, project)).to contain_exactly(cost_entry2) }
                    ^^^^^^^^^

Check failure on line 39 in modules/costs/spec/models/projects/scopes/visible_with_activated_time_activity_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/costs/spec/models/projects/scopes/visible_with_activated_time_activity_spec.rb#L39

[Correctable] FactoryBot/CreateList: Prefer 1.times.map.
Raw output
modules/costs/spec/models/projects/scopes/visible_with_activated_time_activity_spec.rb:39:61: C: [Correctable] FactoryBot/CreateList: Prefer 1.times.map.
      create(:member, entity: project, principal: u, roles: [create(:role, permissions: project_permissions)])
                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check failure on line 40 in modules/costs/spec/models/projects/scopes/visible_with_activated_time_activity_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/costs/spec/models/projects/scopes/visible_with_activated_time_activity_spec.rb#L40

[Correctable] FactoryBot/CreateList: Prefer 1.times.map.
Raw output
modules/costs/spec/models/projects/scopes/visible_with_activated_time_activity_spec.rb:40:67: C: [Correctable] FactoryBot/CreateList: Prefer 1.times.map.
      create(:member, entity: other_project, principal: u, roles: [create(:role, permissions: other_project_permissions)])
                                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check failure on line 78 in modules/costs/spec/models/time_entry_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/costs/spec/models/time_entry_spec.rb#L78

[Correctable] FactoryBot/CreateList: Prefer create_list.
Raw output
modules/costs/spec/models/time_entry_spec.rb:78:62: C: [Correctable] FactoryBot/CreateList: Prefer create_list.
    create(:member, entity: project, principal: user, roles: [create(:role, permissions:)])
                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check failure on line 44 in modules/costs/spec/requests/api/time_entries/available_projects_resource_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/costs/spec/requests/api/time_entries/available_projects_resource_spec.rb#L44

[Correctable] FactoryBot/CreateList: Prefer create_list.
Raw output
modules/costs/spec/requests/api/time_entries/available_projects_resource_spec.rb:44:30: C: [Correctable] FactoryBot/CreateList: Prefer create_list.
      create(:member, roles: [create(:role, permissions: [:log_own_time])], entity: p, principal: current_user)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check failure on line 49 in modules/costs/spec/requests/api/time_entries/available_projects_resource_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/costs/spec/requests/api/time_entries/available_projects_resource_spec.rb#L49

[Correctable] FactoryBot/CreateList: Prefer create_list.
Raw output
modules/costs/spec/requests/api/time_entries/available_projects_resource_spec.rb:49:30: C: [Correctable] FactoryBot/CreateList: Prefer create_list.
      create(:member, roles: [create(:role, permissions: [:edit_time_entries])], entity: p, principal: current_user)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check failure on line 54 in modules/costs/spec/requests/api/time_entries/available_projects_resource_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/costs/spec/requests/api/time_entries/available_projects_resource_spec.rb#L54

[Correctable] FactoryBot/CreateList: Prefer create_list.
Raw output
modules/costs/spec/requests/api/time_entries/available_projects_resource_spec.rb:54:30: C: [Correctable] FactoryBot/CreateList: Prefer create_list.
      create(:member, roles: [create(:role, permissions: [:edit_own_time_entries])], entity: p, principal: current_user)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check failure on line 59 in modules/costs/spec/requests/api/time_entries/available_projects_resource_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/costs/spec/requests/api/time_entries/available_projects_resource_spec.rb#L59

[Correctable] FactoryBot/CreateList: Prefer create_list.
Raw output
modules/costs/spec/requests/api/time_entries/available_projects_resource_spec.rb:59:30: C: [Correctable] FactoryBot/CreateList: Prefer create_list.
      create(:member, roles: [create(:role, permissions: [:view_time_entries])], entity: p, principal: current_user)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check failure on line 64 in modules/costs/spec/requests/api/time_entries/available_projects_resource_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/costs/spec/requests/api/time_entries/available_projects_resource_spec.rb#L64

[Correctable] FactoryBot/CreateList: Prefer create_list.
Raw output
modules/costs/spec/requests/api/time_entries/available_projects_resource_spec.rb:64:30: C: [Correctable] FactoryBot/CreateList: Prefer create_list.
      create(:member, roles: [create(:role, permissions: [])], entity: p, principal: current_user)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check failure on line 199 in modules/costs/spec/requests/api/time_entries/update_form_resource_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/costs/spec/requests/api/time_entries/update_form_resource_spec.rb#L199

[Correctable] FactoryBot/CreateList: Prefer 1.times.map.
Raw output
modules/costs/spec/requests/api/time_entries/update_form_resource_spec.rb:199:64: C: [Correctable] FactoryBot/CreateList: Prefer 1.times.map.
            create(:member, entity: time_entry.project, roles: [create(:role, permissions:)], principal: user)
                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check failure on line 117 in spec/controllers/groups_controller_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/controllers/groups_controller_spec.rb#L117

[Correctable] FactoryBot/CreateList: Prefer create_list.
Raw output
spec/controllers/groups_controller_spec.rb:117:57: C: [Correctable] FactoryBot/CreateList: Prefer create_list.
        create(:global_member, principal: group, roles: [create(:global_role)])
                                                        ^^^^^^^^^^^^^^^^^^^^^^

Check failure on line 898 in spec/controllers/users_controller_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/controllers/users_controller_spec.rb#L898

[Correctable] FactoryBot/CreateList: Prefer create_list.
Raw output
spec/controllers/users_controller_spec.rb:898:23: C: [Correctable] FactoryBot/CreateList: Prefer create_list.
               roles: [create(:role, permissions: [:view_work_packages])])
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check failure on line 51 in spec/controllers/wiki_menu_authentication_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/controllers/wiki_menu_authentication_spec.rb#L51

RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
Raw output
spec/controllers/wiki_menu_authentication_spec.rb:51:54: C: RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
      create(:member, principal: admin_user, entity: @project, roles: [permission_role])
                                                     ^^^^^^^^

Check failure on line 68 in spec/features/members/membership_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/features/members/membership_spec.rb#L68

RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
Raw output
spec/features/members/membership_spec.rb:68:3: C: RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
  let(:member1) { create(:member, principal: peter, entity: project, roles: [manager]) }
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check failure on line 69 in spec/features/members/membership_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/features/members/membership_spec.rb#L69

RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
Raw output
spec/features/members/membership_spec.rb:69:3: C: RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
  let(:member2) { create(:member, principal: hannibal, entity: project, roles: [developer]) }
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check failure on line 70 in spec/features/members/membership_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/features/members/membership_spec.rb#L70

RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
Raw output
spec/features/members/membership_spec.rb:70:3: C: RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
  let(:member3) { create(:member, principal: group, entity: project, roles: [manager]) }
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check failure on line 80 in spec/features/placeholder_users/delete_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/features/placeholder_users/delete_spec.rb#L80

[Correctable] FactoryBot/CreateList: Prefer create_list.
Raw output
spec/features/placeholder_users/delete_spec.rb:80:76: C: [Correctable] FactoryBot/CreateList: Prefer create_list.
      create(:member, principal: placeholder_user, entity: project, roles: [create(:role)])
                                                                           ^^^^^^^^^^^^^^^

Check failure on line 12 in spec/features/work_packages/table/invalid_query_spec.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] spec/features/work_packages/table/invalid_query_spec.rb#L12

[Correctable] FactoryBot/CreateList: Prefer create_list.
Raw output
spec/features/work_packages/table/invalid_query_spec.rb:12:62: C: [Correctable] FactoryBot/CreateList: Prefer create_list.
    create(:member, principal: user, entity: project, roles: [create(:role)])
                                                             ^^^^^^^^^^^^^^^