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
Remove unnecessary specs
Dombi Attilacf1fb6801019
diff --git a/spec/models/life_cycle_spec.rb b/spec/models/life_cycle_spec.rbindex a855543e534..1c671f05a3f 100644--- a/spec/models/life_cycle_spec.rb+++ b/spec/models/life_cycle_spec.rb@@ -33,14 +33,6 @@ RSpec.describe LifeCycle doexpect { described_class.new }.to raise_error(NotImplementedError)end- it "cannot be instantiated with an invalid type" do- expect { described_class.new(type: "InvalidType") }.to raise_error(ActiveRecord::SubclassNotFound)- end-- it "can be instantiated with a valid type" do- expect { described_class.new(type: "Gate") }.not_to raise_error- end-# For more specs see:# - spec/support/shared/life_cycle_helpers.rb# - spec/models/gate_spec.rbdiff --git a/spec/models/project/life_cycle_spec.rb b/spec/models/project/life_cycle_spec.rbindex cc52e9cb95c..23e5060a579 100644--- a/spec/models/project/life_cycle_spec.rb+++ b/spec/models/project/life_cycle_spec.rb@@ -33,14 +33,6 @@ RSpec.describe Project::LifeCycle doexpect { described_class.new }.to raise_error(NotImplementedError)end- it "cannot be instantiated with an invalid type" do- expect { described_class.new(type: "InvalidType") }.to raise_error(ActiveRecord::SubclassNotFound)- end-- it "can be instantiated with a valid type" do- expect { described_class.new(type: "Project::Gate") }.not_to raise_error- end-describe "with an instantiated Gate" dosubject { build :project_gate }