OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
fix build
Christophe Bliard5e7f81d4a08b
diff --git a/modules/xls_export/spec/models/xls_export/project/exporter/xls_integration_spec.rb b/modules/xls_export/spec/models/xls_export/project/exporter/xls_integration_spec.rbindex fa23f5b082e..1d0f2e4e868 100644--- a/modules/xls_export/spec/models/xls_export/project/exporter/xls_integration_spec.rb+++ b/modules/xls_export/spec/models/xls_export/project/exporter/xls_integration_spec.rb@@ -32,8 +32,12 @@ describe XlsExport::Project::Exporter::XLS doendcontext 'with status_explanation enabled' do- before do+ around do |example|+ enabled_columns_value = Setting.enabled_projects_columns.dupSetting.enabled_projects_columns += ["status_explanation"]+ example.run+ ensure+ Setting.enabled_projects_columns = enabled_columns_valueendit 'performs a successful export' do@@ -45,8 +49,12 @@ describe XlsExport::Project::Exporter::XLS doenddescribe 'custom field columns selected' do- before do+ around do |example|+ enabled_columns_value = Setting.enabled_projects_columns.dupSetting.enabled_projects_columns += custom_fields.map { |cf| "cf_#{cf.id}" }+ example.run+ ensure+ Setting.enabled_projects_columns = enabled_columns_valueendcontext 'when ee enabled', with_ee: %i[custom_fields_in_projects_list] do