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 exits scope check
Klaus Zandersa0bf5ad44716
diff --git a/modules/overviews/spec/contracts/grids/create_contract_spec.rb b/modules/overviews/spec/contracts/grids/create_contract_spec.rbindex 2d1322df03f..d4c44038b12 100644--- a/modules/overviews/spec/contracts/grids/create_contract_spec.rb+++ b/modules/overviews/spec/contracts/grids/create_contract_spec.rb@@ -69,15 +69,9 @@ RSpec.describe Grids::CreateContract, 'for Grids::Overview' docontext 'if an overview grid already exists for the project' dobefore do- scope = double('grid exists scope')-allow(Grids::Overview)- .to receive(:where)- .with(project_id: project.id)- .and_return scope-- allow(scope).to receive(:exists?)+ .with(project_id: project.id).and_return(true)end