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
Update specs
Dombi Attila0521dc128fa9
diff --git a/spec/models/project/life_cycle_spec.rb b/spec/models/project/life_cycle_spec.rbindex 23e5060a579..be54b48bfbe 100644--- a/spec/models/project/life_cycle_spec.rb+++ b/spec/models/project/life_cycle_spec.rb@@ -36,21 +36,7 @@ RSpec.describe Project::LifeCycle dodescribe "with an instantiated Gate" dosubject { build :project_gate }- it "allows setting a life_cycle" do- expected_life_cycle = create :gate- subject.life_cycle = expected_life_cycle-- expect(subject.save).to be(true)- expect(subject.reload.life_cycle).to eq(expected_life_cycle)- end-- context "when the Gate is already saved" do- subject { create :project_gate }-- it "does not allow updating the life_cycle" do- expect(subject).to have_readonly_attribute(:life_cycle_id)- end- end+ it { is_expected.to have_readonly_attribute(:life_cycle_id) }end# For more specs see: