Skip to content

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

Update modules/xls_export/spec/models/xls_export/project/exporter/xls_integration_spec.rb

jjabari-op89f2d091b305
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.rb
index 094bb9c2171..094d91f51fd 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
@@ -33,8 +33,7 @@ RSpec.describe XlsExport::Project::Exporter::XLS do
context 'with project description containing html' do
before do
- project.description = "This is an <p>html</p> description."
- project.save!(validate: false)
+ project.update_column(:description, "This is an <p>html</p> description.")
end
it 'performs a successful export' do