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 expected validation messages
Oliver Günther0a5c79f44d6c
diff --git a/modules/meeting/spec/contracts/meeting_agenda_items/create_contract_spec.rb b/modules/meeting/spec/contracts/meeting_agenda_items/create_contract_spec.rbindex 7a2b30e18ed..79ea61d18ff 100644--- a/modules/meeting/spec/contracts/meeting_agenda_items/create_contract_spec.rb+++ b/modules/meeting/spec/contracts/meeting_agenda_items/create_contract_spec.rb@@ -51,7 +51,7 @@ RSpec.describe MeetingAgendaItems::CreateContract domeeting.update_column(:state, :closed)end- it_behaves_like 'contract is invalid', base: I18n.t(:text_meeting_not_editable_anymore)+ it_behaves_like 'contract is invalid', base: I18n.t(:text_agenda_item_not_editable_anymore)endcontext 'when :meeting is not present anymore' dodiff --git a/modules/meeting/spec/contracts/meeting_agenda_items/delete_contract_spec.rb b/modules/meeting/spec/contracts/meeting_agenda_items/delete_contract_spec.rbindex 4dcef8b3a6f..b5d133639b6 100644--- a/modules/meeting/spec/contracts/meeting_agenda_items/delete_contract_spec.rb+++ b/modules/meeting/spec/contracts/meeting_agenda_items/delete_contract_spec.rb@@ -51,7 +51,7 @@ RSpec.describe MeetingAgendaItems::DeleteContract domeeting.update_column(:state, :closed)end- it_behaves_like 'contract is invalid', base: I18n.t(:text_meeting_not_editable_anymore)+ it_behaves_like 'contract is invalid', base: I18n.t(:text_agenda_item_not_editable_anymore)endenddiff --git a/modules/meeting/spec/contracts/meeting_agenda_items/update_contract_spec.rb b/modules/meeting/spec/contracts/meeting_agenda_items/update_contract_spec.rbindex 39b3c2966be..b9c5318ab51 100644--- a/modules/meeting/spec/contracts/meeting_agenda_items/update_contract_spec.rb+++ b/modules/meeting/spec/contracts/meeting_agenda_items/update_contract_spec.rb@@ -51,7 +51,7 @@ RSpec.describe MeetingAgendaItems::UpdateContract domeeting.update_column(:state, :closed)end- it_behaves_like 'contract is invalid', base: I18n.t(:text_meeting_not_editable_anymore)+ it_behaves_like 'contract is invalid', base: I18n.t(:text_agenda_item_not_editable_anymore)endcontext 'when an item_type is provided' do