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

fixed contract spec

Jonas Jabaridb259e767fc3
diff --git a/modules/meeting/spec/contracts/meeting_sections/create_contract_spec.rb b/modules/meeting/spec/contracts/meeting_sections/create_contract_spec.rb
index 52a37f38208..e74d169683b 100644
--- a/modules/meeting/spec/contracts/meeting_sections/create_contract_spec.rb
+++ b/modules/meeting/spec/contracts/meeting_sections/create_contract_spec.rb
@@ -67,7 +67,9 @@ RSpec.describe MeetingSections::CreateContract do
section.title = ""
end
- it_behaves_like "contract is invalid", title: :blank
+ # empty title allowed in create contract in contrast to update contract
+ # only used internally and not alongside a user facing form
+ it_behaves_like "contract is valid"
end
end