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 specs
Dombi Attila0b89658cc774
diff --git a/spec/contracts/project_life_cycle_steps/base_contract_spec.rb b/spec/contracts/project_life_cycle_steps/base_contract_spec.rbindex 8bb93c4a5b6..e0df64f4050 100644--- a/spec/contracts/project_life_cycle_steps/base_contract_spec.rb+++ b/spec/contracts/project_life_cycle_steps/base_contract_spec.rb@@ -116,8 +116,7 @@ RSpec.describe ProjectLifeCycleSteps::BaseContract docontext "and the other steps have increasing dates" dolet(:steps) { [step1, step_missing_dates, step2] }- it_behaves_like "contract is invalid",- "available_life_cycle_steps.date_range": :blank+ it_behaves_like "contract is valid"endcontext "and the other steps have decreasing dates" dodiff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rbindex 0a446f85d63..ab2e73be473 100644--- a/spec/models/project_spec.rb+++ b/spec/models/project_spec.rb@@ -399,7 +399,7 @@ RSpec.describe Project doenddescribe ".validates_associated" do- let!(:project_stage) { create :project_stage, :skip_validate, project:, start_date: nil, end_date: nil }+ let!(:project_stage) { create :project_stage, :skip_validate, project:, start_date: nil }it "is valid without a validation context" doexpect(project).to be_valid