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

Drive-by relation fix

Oliver Günther32397da33237
diff --git a/spec/controllers/work_package_relations_controller_spec.rb b/spec/controllers/work_package_relations_controller_spec.rb
index e29d6af175e..d45f0a7f84c 100644
--- a/spec/controllers/work_package_relations_controller_spec.rb
+++ b/spec/controllers/work_package_relations_controller_spec.rb
@@ -125,7 +125,7 @@ RSpec.describe WorkPackageRelationsController do
describe "PATCH /work_packages/:work_package_id/relations/:id" do
before do
- relation.update!(description: "Old relation description")
+ relation.update_column(:description, "Old relation description")
allow(WorkPackageRelationsTab::IndexComponent).to receive(:new).and_call_original
allow(controller).to receive(:replace_via_turbo_stream).and_call_original
end