OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/modules/dashboards/spec/factories/grid_factory.rb

19 lines
353 B

FactoryBot.define do
factory :dashboard, class: Grids::Dashboard do
project
row_count { 7 }
column_count { 4 }
widgets do
[
Grids::Widget.new(
identifier: 'work_packages_table',
start_row: 1,
end_row: 7,
start_column: 1,
end_column: 3
)
]
end
end
end