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 seeder specs
Dombi Attila915954b7102e
diff --git a/modules/bim/spec/seeders/root_seeder_bim_edition_spec.rb b/modules/bim/spec/seeders/root_seeder_bim_edition_spec.rbindex d07f6f31d62..0a393f05bf2 100644--- a/modules/bim/spec/seeders/root_seeder_bim_edition_spec.rb+++ b/modules/bim/spec/seeders/root_seeder_bim_edition_spec.rb@@ -102,7 +102,7 @@ RSpec.describe RootSeeder,)end- include_examples "it creates records", model: Color, expected_count: 149+ include_examples "it creates records", model: Color, expected_count: 148include_examples "it creates records", model: DocumentCategory, expected_count: 3include_examples "it creates records", model: IssuePriority, expected_count: 4include_examples "it creates records", model: Status, expected_count: 4diff --git a/spec/seeders/root_seeder_standard_edition_spec.rb b/spec/seeders/root_seeder_standard_edition_spec.rbindex 3dc1be33f9d..efdf57f0bce 100644--- a/spec/seeders/root_seeder_standard_edition_spec.rb+++ b/spec/seeders/root_seeder_standard_edition_spec.rb@@ -67,7 +67,7 @@ RSpec.describe RootSeeder,expect(VersionSetting.count).to eq 4expect(Boards::Grid.count).to eq 5expect(Boards::Grid.count { |grid| grid.options.has_key?(:filters) }).to eq 1- expect(Project::PhaseDefinition.count).to eq 7+ expect(Project::PhaseDefinition.count).to eq 4endit "links work packages to their version" do@@ -138,7 +138,7 @@ RSpec.describe RootSeeder,)end- include_examples "it creates records", model: Color, expected_count: 149+ include_examples "it creates records", model: Color, expected_count: 148include_examples "it creates records", model: DocumentCategory, expected_count: 3include_examples "it creates records", model: GlobalRole, expected_count: 2include_examples "it creates records", model: WorkPackageRole, expected_count: 3@@ -190,7 +190,7 @@ RSpec.describe RootSeeder,expect(Version.count).to eq 4expect(VersionSetting.count).to eq 4expect(Boards::Grid.count).to eq 5- expect(Project::PhaseDefinition.count).to eq 7+ expect(Project::PhaseDefinition.count).to eq 4endendend